- fixed: The alt HUD's draw call did not use the virtual interface.

This commit is contained in:
Christoph Oelckers 2022-04-15 22:54:26 +02:00
parent a40b1f1934
commit 3fa7fb7158

View file

@ -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);