Skip to content

Commit

Permalink
fix another copy pasta bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gafferongames committed Sep 19, 2024
1 parent 97c15a0 commit aeb879f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/yojimbo_base_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ namespace yojimbo
info.numPacketsAcked = counters[RELIABLE_ENDPOINT_COUNTER_NUM_PACKETS_ACKED];
info.RTT = reliable_endpoint_rtt( m_endpoint );
info.minRTT = reliable_endpoint_rtt_min( m_endpoint );
info.maxRTT = reliable_endpoint_rtt_min( m_endpoint );
info.maxRTT = reliable_endpoint_rtt_max( m_endpoint );
info.averageRTT = reliable_endpoint_rtt_avg( m_endpoint );
info.averageJitter = reliable_endpoint_jitter_avg_vs_min_rtt( m_endpoint );
info.maxJitter = reliable_endpoint_jitter_max_vs_min_rtt( m_endpoint );
Expand Down
2 changes: 1 addition & 1 deletion source/yojimbo_base_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ namespace yojimbo
info.numPacketsAcked = counters[RELIABLE_ENDPOINT_COUNTER_NUM_PACKETS_ACKED];
info.RTT = reliable_endpoint_rtt( m_clientEndpoint[clientIndex] );
info.minRTT = reliable_endpoint_rtt_min( m_clientEndpoint[clientIndex] );
info.maxRTT = reliable_endpoint_rtt_min( m_clientEndpoint[clientIndex] );
info.maxRTT = reliable_endpoint_rtt_max( m_clientEndpoint[clientIndex] );
info.averageRTT = reliable_endpoint_rtt_avg( m_clientEndpoint[clientIndex] );
info.averageJitter = reliable_endpoint_jitter_avg_vs_min_rtt( m_clientEndpoint[clientIndex] );
info.maxJitter = reliable_endpoint_jitter_max_vs_min_rtt( m_clientEndpoint[clientIndex] );
Expand Down

0 comments on commit aeb879f

Please sign in to comment.