summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-23 11:06:52 +0000
committerrubidium <rubidium@openttd.org>2008-12-23 11:06:52 +0000
commit9476a4976318086a853d15380f24200a50cb22b9 (patch)
tree74de767fc4a572fdb693131f990cc1ae2f5c830b /src/network/core
parentd501a20065a44c3a10b127d3f4842798d01a2d7f (diff)
downloadopenttd-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.h3
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);
}
};