mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-24 04:11:24 +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 ()
|
void D_ErrorCleanup ()
|
||||||
{
|
{
|
||||||
|
bool aux;
|
||||||
|
|
||||||
savegamerestore = false;
|
savegamerestore = false;
|
||||||
if (screen)
|
if (screen)
|
||||||
screen->Unlock ();
|
screen->Unlock ();
|
||||||
|
@ -1029,7 +1031,9 @@ void D_ErrorCleanup ()
|
||||||
if (demorecording || demoplayback)
|
if (demorecording || demoplayback)
|
||||||
G_CheckDemoStatus ();
|
G_CheckDemoStatus ();
|
||||||
Net_ClearBuffers ();
|
Net_ClearBuffers ();
|
||||||
|
aux = netgame; // for NetServerInfo
|
||||||
G_NewInit ();
|
G_NewInit ();
|
||||||
|
netgame = aux;
|
||||||
M_ClearMenus ();
|
M_ClearMenus ();
|
||||||
singletics = false;
|
singletics = false;
|
||||||
playeringame[0] = 1;
|
playeringame[0] = 1;
|
||||||
|
|
|
@ -343,6 +343,7 @@ void G_NewInit ()
|
||||||
}
|
}
|
||||||
|
|
||||||
G_ClearSnapshots ();
|
G_ClearSnapshots ();
|
||||||
|
netgame = false;
|
||||||
multiplayer = multiplayernext;
|
multiplayer = multiplayernext;
|
||||||
multiplayernext = false;
|
multiplayernext = false;
|
||||||
if (demoplayback)
|
if (demoplayback)
|
||||||
|
|
Loading…
Reference in a new issue