Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/engine/client/cl_parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ void CL_ParseGamestate( msg_t *msg )

// a gamestate always marks a server command sequence
clc.serverCommandSequence = MSG_ReadLong( msg );

// trash any commands from previous game
clc.lastExecutedServerCommand = clc.serverCommandSequence;
}

// parse all the configstrings and baselines
Expand Down
1 change: 1 addition & 0 deletions src/engine/server/sv_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ void SV_SendClientGameState( client_t *client )
// we have to do this cause we send the client->reliableSequence
// with a gamestate and it sets the clc.serverCommandSequence at
// the client side
// TODO(0.57): remove. The client will just throw away old commands on getting a gamestate
SV_UpdateServerCommandsToClient( client, &msg );

// send the gamestate
Expand Down
Loading