- 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

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();
}