Skip to content

Commit

Permalink
we don't really need floor
Browse files Browse the repository at this point in the history
  • Loading branch information
gafferongames committed Dec 23, 2023
1 parent 593a6fa commit 95cb13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void stats_iteration( double time )
counters[RELIABLE_ENDPOINT_COUNTER_NUM_PACKETS_RECEIVED],
counters[RELIABLE_ENDPOINT_COUNTER_NUM_PACKETS_ACKED],
(int) reliable_endpoint_rtt( global_context.client ),
(int) floor( reliable_endpoint_packet_loss( global_context.client ) + 0.5f ),
(int) ( reliable_endpoint_packet_loss( global_context.client ) + 0.5f ),
(int) sent_bandwidth_kbps,
(int) received_bandwidth_kbps,
(int) acked_bandwidth_kbps );
Expand Down

0 comments on commit 95cb13d

Please sign in to comment.