mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +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;
|
int line, lineadv, color, j;
|
||||||
bool canskip;
|
bool canskip;
|
||||||
|
|
||||||
if (gamestate == GS_FULLCONSOLE || gamestate == GS_DEMOSCREEN)
|
|
||||||
return;
|
|
||||||
|
|
||||||
FFont* font = generic_ui ? NewSmallFont : AlternativeSmallFont;
|
FFont* font = generic_ui ? NewSmallFont : AlternativeSmallFont;
|
||||||
|
|
||||||
line = Top + font->GetDisplacement();
|
line = Top + font->GetDisplacement();
|
||||||
|
@ -832,7 +829,8 @@ void C_DrawConsole ()
|
||||||
|
|
||||||
oldbottom = ConBottom;
|
oldbottom = ConBottom;
|
||||||
|
|
||||||
if (ConsoleState == c_up)
|
if (ConsoleState == c_up && gamestate != GS_INTRO && gamestate != GS_INTERMISSION &&
|
||||||
|
gamestate != GS_FULLCONSOLE && gamestate == GS_MENUSCREEN)
|
||||||
{
|
{
|
||||||
NotifyStrings.Draw();
|
NotifyStrings.Draw();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue