mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-11-23 16:10:09 +00:00
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:
parent
4304412a8e
commit
fa3acf7707
@ -172,6 +172,7 @@ CL_Disconnect(void)
|
||||
cls.demoplayback = false;
|
||||
cls.timedemo = false;
|
||||
cls.signon = 0;
|
||||
cl.intermission = 0; /* FIXME - for SCR_UpdateScreen */
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user