From 1df7dc81e6aa857cd0275abfcbd05913f5d9afa6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers <coelckers@users.noreply.github.com> Date: Fri, 2 Jun 2017 10:05:39 +0200 Subject: [PATCH] - fixed: The statusbar's MustDrawLog method was called with an incorrect number of parameters. --- 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 2710c5156d..30bc5f1df1 100644 --- a/src/g_statusbar/shared_sbar.cpp +++ b/src/g_statusbar/shared_sbar.cpp @@ -1079,7 +1079,7 @@ bool DBaseStatusBar::MustDrawLog(EHudState state) { IFVIRTUAL(DBaseStatusBar, MustDrawLog) { - VMValue params[] = { (DObject*)this }; + VMValue params[] = { (DObject*)this, int(state) }; int rv; VMReturn ret(&rv); VMCall(func, params, countof(params), &ret, 1);