Fix sending extra lastClientCommand if built as ioquake3

This commit is contained in:
Zack Middleton 2018-05-18 09:25:21 -05:00
parent 9e775e98f0
commit 457b7944b9
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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