From 18bf807ab35e98680a2e770fb847735c20e3695e Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 1 Nov 2020 10:39:52 +0200 Subject: [PATCH] - fixed crash when drawing status bar on automap https://forum.zdoom.org/viewtopic.php?t=70480 --- src/g_statusbar/shared_sbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_statusbar/shared_sbar.cpp b/src/g_statusbar/shared_sbar.cpp index 82f937201..e6f386b7c 100644 --- a/src/g_statusbar/shared_sbar.cpp +++ b/src/g_statusbar/shared_sbar.cpp @@ -627,7 +627,7 @@ void DBaseStatusBar::DoDrawAutomapHUD(int crdefault, int highlight) double x = 0, yy = 0, w = HorizontalResolution, h = 0; StatusbarToRealCoords(x, yy, w, h); - IFVIRTUAL(DBaseStatusBar, GetProtrusion) + IFVIRTUAL(DStatusBarCore, GetProtrusion) { int prot = 0; VMValue params[] = { this, double(finalwidth * scale / w) };