Skip to content

Commit

Permalink
engine: client: ignore changelevel for old protocol
Browse files Browse the repository at this point in the history
* Prevents engine from drawing too early during reconnect to a
  legacy coop server
  • Loading branch information
a1batross committed Jul 11, 2024
1 parent 9b86c31 commit b77a4ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engine/client/cl_parse_48.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,9 @@ void CL_ParseLegacyServerMessage( sizebuf_t *msg )
{
int maxclients = cl.maxclients;

cls.changelevel = true;
// we can only changelevel in singleplayer
// and singleplayer always runs in current protocol
// cls.changelevel = true;
S_StopAllSounds( true );

Con_Printf( "Server changing, reconnecting\n" );
Expand Down

0 comments on commit b77a4ed

Please sign in to comment.