mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +00:00
- fixed: The alt HUD's draw call did not use the virtual interface.
This commit is contained in:
parent
a40b1f1934
commit
3fa7fb7158
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ void DBaseStatusBar::DrawAltHUD()
|
|||
int hudwidth = twod->GetWidth() / scale;
|
||||
int hudheight = hud_aspectscale ? int(twod->GetHeight() / (scale*1.2)) : twod->GetHeight() / scale;
|
||||
|
||||
IFVM(AltHud, Draw)
|
||||
IFVIRTUALPTRNAME(AltHud, "AltHud", Draw)
|
||||
{
|
||||
VMValue params[] = { AltHud, CPlayer, hudwidth, hudheight };
|
||||
VMCall(func, params, countof(params), nullptr, 0);
|
||||
|
|
Loading…
Reference in a new issue