summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-04-22 15:54:16 +0000
committerrubidium <rubidium@openttd.org>2011-04-22 15:54:16 +0000
commitbc9a803ea956620574896f95932a9973d7601fdd (patch)
treeca9a419644a1eac8f839925a51a0a5641abd695a /src/company_cmd.cpp
parent393fb8e46b8ad9bb65dbea391ad225d0fcfffcac (diff)
downloadopenttd-bc9a803ea956620574896f95932a9973d7601fdd.tar.xz
(svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 56920a270..4944b66b1 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -812,7 +812,7 @@ CommandCost CmdCompanyCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
#ifdef ENABLE_NETWORK
/* Has the network client a correct ClientIndex? */
if (!(flags & DC_EXEC)) return CommandCost();
- NetworkClientInfo *ci = NetworkFindClientInfoFromClientID(client_id);
+ NetworkClientInfo *ci = NetworkClientInfo::GetByClientID(client_id);
if (ci == NULL) return CommandCost();
/* Delete multiplayer progress bar */