mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-23 20:01:20 +00:00
- Different fix for the previous bug, better safe than sorry.
This commit is contained in:
parent
e3ed066b82
commit
d6775e9322
2 changed files with 5 additions and 0 deletions
|
@ -1021,6 +1021,8 @@ void D_Display ()
|
|||
|
||||
void D_ErrorCleanup ()
|
||||
{
|
||||
bool aux;
|
||||
|
||||
savegamerestore = false;
|
||||
if (screen)
|
||||
screen->Unlock ();
|
||||
|
@ -1029,7 +1031,9 @@ void D_ErrorCleanup ()
|
|||
if (demorecording || demoplayback)
|
||||
G_CheckDemoStatus ();
|
||||
Net_ClearBuffers ();
|
||||
aux = netgame; // for NetServerInfo
|
||||
G_NewInit ();
|
||||
netgame = aux;
|
||||
M_ClearMenus ();
|
||||
singletics = false;
|
||||
playeringame[0] = 1;
|
||||
|
|
|
@ -343,6 +343,7 @@ void G_NewInit ()
|
|||
}
|
||||
|
||||
G_ClearSnapshots ();
|
||||
netgame = false;
|
||||
multiplayer = multiplayernext;
|
||||
multiplayernext = false;
|
||||
if (demoplayback)
|
||||
|
|
Loading…
Reference in a new issue