Buildsystem/MSVC: Warning fixes
C4800 'type' : forcing value to bool 'true' or 'false' (performance warning) C4127 conditional expression is constant
This commit is contained in:
1 parent
345bed25d2
commit
7532864264
104 files changed
+386
-387
No files matched your search
@@ -295,7 +295,7 @@ namespace VMAP
|
||||
success = readChunk(rf, chunk, "GOBJ", 4);
|
||||
}
|
||||
|
||||
iIsTiled = bool(tiled);
|
||||
iIsTiled = tiled != '\0';
|
||||
|
||||
// global model spawns
|
||||
// only non-tiled maps have them, and if so exactly one (so far at least...)
|
||||
|
||||
Reference in new issue
Block a user