Make sure clients never have local_resynchinprogress on when joining a game...
This commit is contained in:
parent
3455791054
commit
0485b4cf5c
|
@ -2304,6 +2304,8 @@ static void CL_ConnectToServer(boolean viams)
|
||||||
if (gamestate == GS_VOTING)
|
if (gamestate == GS_VOTING)
|
||||||
Y_EndVote();
|
Y_EndVote();
|
||||||
|
|
||||||
|
resynch_local_inprogress = false; // Just in case this was never cleared...
|
||||||
|
|
||||||
DEBFILE(va("waiting %d nodes\n", doomcom->numnodes));
|
DEBFILE(va("waiting %d nodes\n", doomcom->numnodes));
|
||||||
G_SetGamestate(GS_WAITINGPLAYERS);
|
G_SetGamestate(GS_WAITINGPLAYERS);
|
||||||
wipegamestate = GS_WAITINGPLAYERS;
|
wipegamestate = GS_WAITINGPLAYERS;
|
||||||
|
|
|
@ -1474,6 +1474,7 @@ void D_CloseConnection(void)
|
||||||
I_NetMakeNodewPort = NULL;
|
I_NetMakeNodewPort = NULL;
|
||||||
netgame = false;
|
netgame = false;
|
||||||
addedtogame = false;
|
addedtogame = false;
|
||||||
|
resynch_local_inprogress = false; // No more resyncing!
|
||||||
}
|
}
|
||||||
|
|
||||||
D_ResetTiccmds();
|
D_ResetTiccmds();
|
||||||
|
|
Loading…
Reference in a new issue