mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
Fix flashing connect screen, see https://bugzilla.icculus.org/show_bug.cgi?id=3425.
This commit is contained in:
parent
ccffb85185
commit
d79a5487bc
1 changed files with 4 additions and 0 deletions
|
@ -778,6 +778,10 @@ void CL_MapLoading( void ) {
|
|||
Q_strncpyz( cls.servername, "localhost", sizeof(cls.servername) );
|
||||
cls.state = CA_CHALLENGING; // so the connect screen is drawn
|
||||
Key_SetCatcher( 0 );
|
||||
/* Execute next line twice, so that the connect image gets written into both, front- and
|
||||
* back buffer. This is necessary to prevent a flashing screen on map startup, as the UI gets
|
||||
* killed for a short time and cannot update the screen. */
|
||||
SCR_UpdateScreen();
|
||||
SCR_UpdateScreen();
|
||||
clc.connectTime = -RETRANSMIT_TIMEOUT;
|
||||
NET_StringToAdr( cls.servername, &clc.serverAddress);
|
||||
|
|
Loading…
Reference in a new issue