Removed dead code related to callbacks.

This commit is contained in:
Mattes D
2016-06-27 20:51:52 +02:00
parent 257c5a1a54
commit 7a6670d1d1
4 changed files with 3 additions and 43 deletions
-26
View File
@@ -1140,32 +1140,6 @@ int cPluginLua::CallFunctionFromForeignState(
bool cPluginLua::CallbackWindowClosing(int a_FnRef, cWindow & a_Window, cPlayer & a_Player, bool a_CanRefuse)
{
ASSERT(a_FnRef != LUA_REFNIL);
cOperation op(*this);
bool res = false;
op().Call(a_FnRef, &a_Window, &a_Player, a_CanRefuse, cLuaState::Return, res);
return res;
}
void cPluginLua::CallbackWindowSlotChanged(int a_FnRef, cWindow & a_Window, int a_SlotNum)
{
ASSERT(a_FnRef != LUA_REFNIL);
cOperation op(*this);
op().Call(a_FnRef, &a_Window, a_SlotNum);
}
void cPluginLua::ClearWebTabs(void)
{
auto webAdmin = cRoot::Get()->GetWebAdmin();