- small cppcheck code cleanup
This commit is contained in:
parent
d2284bbd36
commit
85e659219b
|
@ -439,7 +439,7 @@ void LuaScript::loadGame(const XmlNode *rootNode) {
|
|||
string variable = node->getAttribute("variable")->getValue();
|
||||
int value_type = node->getAttribute("value_type")->getIntValue();
|
||||
|
||||
if(LuaScript::debugModeEnabled) printf(" index #: %d [%s] [%d]\n",i,variable.c_str(),value_type);
|
||||
if(LuaScript::debugModeEnabled) printf(" index #: %u [%s] [%d]\n",i,variable.c_str(),value_type);
|
||||
|
||||
switch (value_type) {
|
||||
case LUA_TSTRING:
|
||||
|
|
Loading…
Reference in New Issue