summaryrefslogtreecommitdiff
path: root/src/network/network_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/network_data.cpp')
-rw-r--r--src/network/network_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_data.cpp b/src/network/network_data.cpp
index 13511cc3b..d45f78683 100644
--- a/src/network/network_data.cpp
+++ b/src/network/network_data.cpp
@@ -80,7 +80,7 @@ void NetworkSend_Command(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, Comma
c.callback = 0;
/* And we queue it for delivery to the clients */
NetworkTCPSocketHandler *cs;
- FOR_ALL_CLIENTS(cs) {
+ FOR_ALL_CLIENT_SOCKETS(cs) {
if (cs->status > STATUS_MAP_WAIT) NetworkAddCommandQueue(cs, &c);
}
return;