mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r15049) -Fix (r15045): MSVC performance warning
This commit is contained in:
parent
0adcb5bc2f
commit
37500a13f6
@ -89,7 +89,7 @@ bool AIFileInfo::CanLoadFromVersion(int version)
|
||||
sq_getstackobj(vm, -1, &ret);
|
||||
|
||||
sq_settop(vm, top);
|
||||
return sq_objtobool(&ret);
|
||||
return sq_objtobool(&ret) != 0;
|
||||
}
|
||||
|
||||
const char *AIFileInfo::GetDirName()
|
||||
|
Loading…
Reference in New Issue
Block a user