mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed: DMenu::CallTicker called the Drawer methods of the menu instead of the Ticker methods.
This commit is contained in:
parent
08bf08f297
commit
443ac50887
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue