(svn r15049) -Fix (r15045): MSVC performance warning

This commit is contained in:
glx 2009-01-13 02:03:03 +00:00
parent 0adcb5bc2f
commit 37500a13f6

View File

@ -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()