From 4467547c8c1427fc276b0f48ab436e8dcf23cff7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 21 Aug 2020 21:15:32 +0200 Subject: [PATCH] - fixed fortune cookie message display. Fixes #219. --- source/sw/src/sbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/sw/src/sbar.cpp b/source/sw/src/sbar.cpp index aea5dc433..013f50f3f 100644 --- a/source/sw/src/sbar.cpp +++ b/source/sw/src/sbar.cpp @@ -1009,7 +1009,7 @@ void UpdateStatusBar(ClockTicks arg) if (pp->cookieTime > 0) { const int MESSAGE_LINE = 142; // Used to be 164 - MNU_DrawSmallString(160, MESSAGE_LINE, pp->cookieQuote, 0, 0, 0, clamp((pp->cookieTime - totalclock) / 60., 0., 1.)); + MNU_DrawSmallString(160, MESSAGE_LINE, pp->cookieQuote, 0, 0, 0, clamp(pp->cookieTime / 60., 0., 1.)); } }