mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 07:57:58 +00:00
- moved checks whether to draw the notify buffer out of the class into the calling function.
This commit is contained in:
parent
194824f810
commit
840b8451bd
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue