Skip to content

Commit

Permalink
Merge pull request #75 from drichardson/fix-scan-build-warning
Browse files Browse the repository at this point in the history
Reset loopback_client_num_packets_received before test.
  • Loading branch information
gafferongames committed Nov 15, 2018
2 parents fc30ab0 + d94f523 commit 5f166b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netcode.c
Expand Up @@ -8671,7 +8671,7 @@ void test_loopback()
// verify that we can exchange packets for both regular and loopback client post reconnect

loopback_server_num_packets_received = 0;
loopback_server_num_packets_received = 0;
loopback_client_num_packets_received = 0;
regular_server_num_packets_received = 0;
regular_client_num_packets_received = 0;
context.num_loopback_packets_sent_to_client = 0;
Expand Down

0 comments on commit 5f166b6

Please sign in to comment.