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
+1 -1
View File
@@ -100,7 +100,7 @@ void LifeMeterBattery::OnSongEnded()
LuaHelpers::Push(L, pn);
RString error= "Error running CourseSongRewardLives callback: ";
LuaHelpers::RunScriptOnStack(L, error, 2, 1, true);
m_iLivesLeft += luaL_optnumber(L, -1, 0);
m_iLivesLeft += (int)luaL_optnumber(L, -1, 0);
lua_settop(L, 0);
LUA->Release(L);
}