lua instances: adopt for last rebases with splitted lua source files

TODO: check/fix lua functionality, not tested yet
This commit is contained in:
2015-12-12 14:42:01 +01:00
parent 77518102f8
commit 7b28c80b74
3 changed files with 13 additions and 10 deletions

View File

@@ -196,7 +196,7 @@ int CLuaInstCCWindow::CCWindowHide(lua_State *L)
lua_assert(lua_istable(L,1));
CLuaCCWindow *D = CCWindowCheck(L, 1);
if (!D) return 0;
#if 0
bool no_restore = false;
if (!tableLookup(L, "no_restore", no_restore)) {
std::string tmp = "false";
@@ -204,7 +204,8 @@ int CLuaInstCCWindow::CCWindowHide(lua_State *L)
paramBoolDeprecated(L, tmp.c_str());
no_restore = (tmp == "true" || tmp == "1" || tmp == "yes");
}
D->w->hide(no_restore);
#endif
D->w->hide();
return 0;
}