diff options
Diffstat (limited to 'src/network/core/tcp.h')
-rw-r--r-- | src/network/core/tcp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index 716d219af..f720e0de0 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -113,9 +113,8 @@ public: inline NetworkClientInfo *GetInfo() const { - extern NetworkClientInfo _network_client_info[MAX_CLIENT_INFO]; extern NetworkClientSocket _clients[MAX_CLIENTS]; - return &_network_client_info[this - _clients]; + return GetNetworkClientInfo(this - _clients); } }; |