Skip to content
Permalink
Browse files

Replace zero constants with NULL pointers

This was a minor slip-up on my end.
  • Loading branch information...
stellarLuminant committed Feb 14, 2019
1 parent 892b0fa commit e5f3fb26259582be5de24271d64063a8bd8c646a
Showing with 2 additions and 2 deletions.
  1. +2 −2 netcode.c
@@ -4780,10 +4780,10 @@ struct netcode_address_t * netcode_server_client_address( struct netcode_server_
netcode_assert( server );

if (!server->running)
return 0;
return NULL;

if (client_index < 0 || client_index >= server->max_clients)
return 0;
return NULL;

return &server->client_address[client_index];
}

0 comments on commit e5f3fb2

Please sign in to comment.
You can’t perform that action at this time.