diff options
Diffstat (limited to 'source/cl_input.c')
-rw-r--r-- | source/cl_input.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source/cl_input.c b/source/cl_input.c index eb5c475..eee7be7 100644 --- a/source/cl_input.c +++ b/source/cl_input.c @@ -874,7 +874,8 @@ static void CL_SendDefaultCmd( void ) { // archive this packet history = &cl.history[cls.netchan->outgoing_sequence & CMD_MASK]; history->cmdNumber = cl.cmdNumber; - history->realtime = cls.realtime; // for ping calculation + history->sent = cls.realtime; // for ping calculation + history->rcvd = 0; cl.lastTransmitCmdNumber = cl.cmdNumber; @@ -938,8 +939,6 @@ static void CL_SendDefaultCmd( void ) { Com_Error( ERR_DISCONNECT, "Connection reset by peer" ); } - SCR_AddLagometerOutPacketInfo( i ); - if( cl_showpackets->integer ) { Com_Printf( "%i ", i ); } @@ -969,7 +968,8 @@ static void CL_SendBatchedCmd( void ) { seq = cls.netchan->outgoing_sequence; history = &cl.history[seq & CMD_MASK]; history->cmdNumber = cl.cmdNumber; - history->realtime = cls.realtime; // for ping calculation + history->sent = cls.realtime; // for ping calculation + history->rcvd = 0; cl.lastTransmitTime = cls.realtime; cl.lastTransmitCmdNumber = cl.cmdNumber; @@ -1030,8 +1030,6 @@ static void CL_SendBatchedCmd( void ) { Com_Error( ERR_DISCONNECT, "Connection reset by peer" ); } - SCR_AddLagometerOutPacketInfo( i ); - if( cl_showpackets->integer == 1 ) { Com_Printf( "%i(%i) ", i, totalCmds ); } else if( cl_showpackets->integer == 2 ) { |