Skip to content

Commit

Permalink
Fixed VM abort when drawing from ZScript happens during 0 game tic
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Dec 19, 2017
1 parent 8c60c3c commit 90c734a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/d_main.cpp
Expand Up @@ -797,7 +797,13 @@ void D_Display ()
case GS_LEVEL:
case GS_TITLELEVEL:
if (!gametic)
{
if (!screen->HasBegun2D())
{
screen->Begin2D(false);
}
break;
}

if (StatusBar != NULL)
{
Expand Down

0 comments on commit 90c734a

Please sign in to comment.