From 3fa7fb7158c79a006aa15dd622eddc4360340e7a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 15 Apr 2022 22:54:26 +0200 Subject: [PATCH] - fixed: The alt HUD's draw call did not use the virtual interface. --- src/g_statusbar/shared_hud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_statusbar/shared_hud.cpp b/src/g_statusbar/shared_hud.cpp index 9f9e331e8c..8e86d069bd 100644 --- a/src/g_statusbar/shared_hud.cpp +++ b/src/g_statusbar/shared_hud.cpp @@ -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);