- Different fix for the previous bug, better safe than sorry.

This commit is contained in:
drfrag 2020-10-05 21:20:36 +02:00
parent e3ed066b82
commit d6775e9322
2 changed files with 5 additions and 0 deletions

View file

@ -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;

View file

@ -343,6 +343,7 @@ void G_NewInit ()
}
G_ClearSnapshots ();
netgame = false;
multiplayer = multiplayernext;
multiplayernext = false;
if (demoplayback)