- fixed fortune cookie message display.

Fixes #219.
This commit is contained in:
Christoph Oelckers 2020-08-21 21:15:32 +02:00
parent a3915c6861
commit 4467547c8c

View file

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