- fixed: DMenu::CallTicker called the Drawer methods of the menu instead of the Ticker methods.

This commit is contained in:
Christoph Oelckers 2017-02-14 13:18:57 +01:00
parent 08bf08f297
commit 443ac50887
1 changed files with 2 additions and 2 deletions

View File

@ -381,7 +381,7 @@ void DMenu::Ticker ()
DEFINE_ACTION_FUNCTION(DMenu, Ticker)
{
PARAM_SELF_PROLOGUE(DMenu);
self->Drawer();
self->Ticker();
return 0;
}
@ -392,7 +392,7 @@ void DMenu::CallTicker()
VMValue params[] = { (DObject*)this };
GlobalVMStack.Call(func, params, 1, nullptr, 0, nullptr);
}
else Drawer();
else Ticker();
}