- bugfixes for save / load game bugs reported

This commit is contained in:
Mark Vejvoda
2012-04-02 15:02:44 +00:00
parent f80e440713
commit 5b5d753341
3 changed files with 5 additions and 2 deletions

View File

@@ -343,7 +343,7 @@ void LuaScript::loadGame(const XmlNode *rootNode) {
lua_pushnumber( luaState, node->getAttribute("value")->getIntValue() );
break;
case LUA_TBOOLEAN:
lua_pushboolean( luaState, node->getAttribute("value")->getIntValue() );
lua_pushboolean( luaState, node->getAttribute("value")->getBoolValue() );
break;
case LUA_TTABLE:
{