summaryrefslogtreecommitdiff
path: root/src/network/network_data.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-23 09:47:42 +0000
committerrubidium <rubidium@openttd.org>2008-12-23 09:47:42 +0000
commitae96ca635c9e5c22452acc0c1a473f339706fec3 (patch)
tree981c844c6183f54a4240cfa3663094d557f7b865 /src/network/network_data.cpp
parentd95a485108852af1a26d01cb99ba1b93cbebe1af (diff)
downloadopenttd-ae96ca635c9e5c22452acc0c1a473f339706fec3.tar.xz
(svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as it's (way) more descriptive what it's used for.
Diffstat (limited to 'src/network/network_data.cpp')
-rw-r--r--src/network/network_data.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_data.cpp b/src/network/network_data.cpp
index d45f78683..7570ed527 100644
--- a/src/network/network_data.cpp
+++ b/src/network/network_data.cpp
@@ -16,7 +16,7 @@
#include "../company_func.h"
// Add a command to the local command queue
-void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp)
+void NetworkAddCommandQueue(NetworkClientSocket *cs, CommandPacket *cp)
{
CommandPacket* new_cp = MallocT<CommandPacket>(1);
@@ -79,7 +79,7 @@ void NetworkSend_Command(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, Comma
/* Only the local client (in this case, the server) gets the callback */
c.callback = 0;
/* And we queue it for delivery to the clients */
- NetworkTCPSocketHandler *cs;
+ NetworkClientSocket *cs;
FOR_ALL_CLIENT_SOCKETS(cs) {
if (cs->status > STATUS_MAP_WAIT) NetworkAddCommandQueue(cs, &c);
}