silence a bunch of msvc warnings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user