mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-03-20 01:41:27 +00:00
Fixed VM abort when drawing from ZScript happens during 0 game tic
https://forum.zdoom.org/viewtopic.php?t=58523 https://forum.zdoom.org/viewtopic.php?t=58780
This commit is contained in:
parent
8c60c3c532
commit
90c734a39f
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue