client: set cl.intermission = 0 on disconnect

Fixes a kind-of-hard-to-trigger problem with SCR_UpdateScreen. Good
explanation from Baker here:
  http://forums.inside3d.com/viewtopic.php?t=4944

Thanks Ozkan for pointing this one out for me.

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-04-14 10:47:56 +09:30
parent 4304412a8e
commit fa3acf7707
2 changed files with 2 additions and 2 deletions

View File

@ -172,6 +172,7 @@ CL_Disconnect(void)
cls.demoplayback = false;
cls.timedemo = false;
cls.signon = 0;
cl.intermission = 0; /* FIXME - for SCR_UpdateScreen */
}
void

View File

@ -433,7 +433,6 @@ CL_Disconnect(void)
Netchan_Transmit(&cls.netchan, 6, final);
cls.state = ca_disconnected;
cls.demoplayback = cls.demorecording = cls.timedemo = false;
}
Cam_Reset();
@ -444,7 +443,7 @@ CL_Disconnect(void)
}
CL_StopUpload();
cl.intermission = 0; /* FIXME - for SCR_UpdateScreen */
}
void