diff options
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r-- | src/network/network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index ac49cb08b..58826e1e3 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -107,7 +107,7 @@ extern void StateGameLoop(); */ NetworkClientInfo *NetworkFindClientInfoFromIndex(ClientIndex index) { - return &_network_client_info[index]; + return IsValidNetworkClientInfoIndex(index) ? GetNetworkClientInfo(index) : NULL; } /** |