mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 22:20:58 +00:00
Fix sending extra lastClientCommand if built as ioquake3
This commit is contained in:
parent
9e775e98f0
commit
457b7944b9
2 changed files with 7 additions and 5 deletions
|
@ -213,6 +213,8 @@ void CL_ParseSnapshot( msg_t *msg ) {
|
|||
#ifdef ELITEFORCE
|
||||
if(msg->compat)
|
||||
clc.reliableAcknowledge = MSG_ReadLong( msg );
|
||||
#else
|
||||
//clc.reliableAcknowledge = MSG_ReadLong( msg );
|
||||
#endif
|
||||
|
||||
// read in the new snapshot to a temporary buffer
|
||||
|
|
|
@ -157,14 +157,14 @@ void SV_WriteSnapshotToClient( client_t *client, msg_t *msg ) {
|
|||
|
||||
MSG_WriteByte (msg, svc_snapshot);
|
||||
|
||||
#ifdef ELITEFORCE
|
||||
if(msg->compat)
|
||||
#endif
|
||||
MSG_WriteLong( msg, client->lastClientCommand );
|
||||
|
||||
// NOTE, MRE: now sent at the start of every message from server to client
|
||||
// let the client know which reliable clientCommands we have received
|
||||
#ifdef ELITEFORCE
|
||||
if(msg->compat)
|
||||
MSG_WriteLong( msg, client->lastClientCommand );
|
||||
#else
|
||||
//MSG_WriteLong( msg, client->lastClientCommand );
|
||||
#endif
|
||||
|
||||
// send over the current server time so the client can drift
|
||||
// its view of time to try to match
|
||||
|
|
Loading…
Reference in a new issue