mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +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)
|
DEFINE_ACTION_FUNCTION(DMenu, Ticker)
|
||||||
{
|
{
|
||||||
PARAM_SELF_PROLOGUE(DMenu);
|
PARAM_SELF_PROLOGUE(DMenu);
|
||||||
self->Drawer();
|
self->Ticker();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -392,7 +392,7 @@ void DMenu::CallTicker()
|
||||||
VMValue params[] = { (DObject*)this };
|
VMValue params[] = { (DObject*)this };
|
||||||
GlobalVMStack.Call(func, params, 1, nullptr, 0, nullptr);
|
GlobalVMStack.Call(func, params, 1, nullptr, 0, nullptr);
|
||||||
}
|
}
|
||||||
else Drawer();
|
else Ticker();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue