diff options
author | rubidium <rubidium@openttd.org> | 2008-12-23 11:06:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-12-23 11:06:52 +0000 |
commit | 9476a4976318086a853d15380f24200a50cb22b9 (patch) | |
tree | 74de767fc4a572fdb693131f990cc1ae2f5c830b /src/network/core | |
parent | d501a20065a44c3a10b127d3f4842798d01a2d7f (diff) | |
download | openttd-9476a4976318086a853d15380f24200a50cb22b9.tar.xz |
(svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies.
Diffstat (limited to 'src/network/core')
-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); } }; |