Re-add handler param to MessageBox Init virtual
This is just to prevent breaking any existing overrides. The value is fully unused.
This commit is contained in:
parent
ca74b49dc8
commit
3d39bf33bb
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ DMenu *CreateMessageBoxMenu(DMenu *parent, const char *message, int messagemode,
|
|||
IFVIRTUALPTRNAME(p, NAME_MessageBoxMenu, Init)
|
||||
{
|
||||
p->PointerVar<void>(NAME_Handler) = reinterpret_cast<void*>(handler);
|
||||
VMValue params[] = { p, parent, &namestr, messagemode, playsound, action.GetIndex() };
|
||||
VMValue params[] = { p, parent, &namestr, messagemode, playsound, action.GetIndex(), (void*)nullptr };
|
||||
VMCall(func, params, countof(params), nullptr, 0);
|
||||
return (DMenu*)p;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue