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
commit97662a0fff0a8c5099ee48f43d15ab0881493393 (patch)
tree74de767fc4a572fdb693131f990cc1ae2f5c830b /src/network/core
parent768fdee77a851286b6a6d33e04df18dc56ab1f51 (diff)
downloadopenttd-97662a0fff0a8c5099ee48f43d15ab0881493393.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);
}
};