From 840b8451bd0d2e979300e0fcb1cf5b3c21f61ec0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 25 Oct 2020 09:26:07 +0100 Subject: [PATCH] - moved checks whether to draw the notify buffer out of the class into the calling function. --- src/console/c_console.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/console/c_console.cpp b/src/console/c_console.cpp index 3454172eb..66c3e716b 100644 --- a/src/console/c_console.cpp +++ b/src/console/c_console.cpp @@ -748,9 +748,6 @@ void FNotifyBuffer::Draw() int line, lineadv, color, j; bool canskip; - if (gamestate == GS_FULLCONSOLE || gamestate == GS_DEMOSCREEN) - return; - FFont* font = generic_ui ? NewSmallFont : AlternativeSmallFont; line = Top + font->GetDisplacement(); @@ -832,7 +829,8 @@ void C_DrawConsole () oldbottom = ConBottom; - if (ConsoleState == c_up) + if (ConsoleState == c_up && gamestate != GS_INTRO && gamestate != GS_INTERMISSION && + gamestate != GS_FULLCONSOLE && gamestate == GS_MENUSCREEN) { NotifyStrings.Draw(); return;