silence a bunch of msvc warnings

This commit is contained in:
Colby Klein
2019-03-28 15:05:07 -07:00
parent dcb2f74c8d
commit 4977f29fe3
11 changed files with 25 additions and 25 deletions
+3 -3
View File
@@ -1063,15 +1063,15 @@ public:
lua_pop( L, 1 );
lua_getfield(L, -1, "GoToFirstOnStart");
m_GoToFirstOnStart= lua_toboolean(L, -1);
m_GoToFirstOnStart = lua_toboolean(L, -1) > 0;
lua_pop(L, 1);
lua_getfield(L, -1, "OneChoiceForAllPlayers");
m_Def.m_bOneChoiceForAllPlayers = lua_toboolean( L, -1 );
m_Def.m_bOneChoiceForAllPlayers = lua_toboolean( L, -1 ) > 0;
lua_pop( L, 1 );
lua_getfield(L, -1, "ExportOnChange");
m_Def.m_bExportOnChange = lua_toboolean( L, -1 );
m_Def.m_bExportOnChange = lua_toboolean( L, -1 ) > 0;
lua_pop( L, 1 );
// TODO: Change these to use the proper enum strings like everything