mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 19:52:25 +01:00
- cleaned up compiler warning
This commit is contained in:
parent
4692f41474
commit
61ffcf8252
@ -2812,7 +2812,7 @@ int ScriptManager::removeUnitFromGroupSelection(LuaHandle* luaHandle) {
|
||||
|
||||
int ScriptManager::setAttackWarningsEnabled(LuaHandle* luaHandle) {
|
||||
LuaArguments luaArguments(luaHandle);
|
||||
thisScriptManager->setAttackWarningsEnabled(luaArguments.getInt(-1));
|
||||
thisScriptManager->setAttackWarningsEnabled((luaArguments.getInt(-1) == 0 ? false : true));
|
||||
return luaArguments.getReturnCount();
|
||||
}
|
||||
int ScriptManager::getAttackWarningsEnabled(LuaHandle* luaHandle) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user