mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- fixed bad parameters for MouseEvent call in menus.
This commit is contained in:
parent
ad178e16c5
commit
5dd00e44ef
1 changed files with 1 additions and 1 deletions
|
@ -1457,7 +1457,7 @@ bool DMenuItemBase::MouseEvent(int type, int x, int y)
|
|||
{
|
||||
IFVIRTUAL(DMenuItemBase, MouseEvent)
|
||||
{
|
||||
VMValue params[] = { (DObject*)this, x, y };
|
||||
VMValue params[] = { (DObject*)this, type, x, y };
|
||||
int retval;
|
||||
VMReturn ret(&retval);
|
||||
GlobalVMStack.Call(func, params, countof(params), &ret, 1, nullptr);
|
||||
|
|
Loading…
Reference in a new issue