summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-03-15 00:31:10 +0000
committersmatz <smatz@openttd.org>2008-03-15 00:31:10 +0000
commit8d7f246b55fc62dc06c7af2530ad98cf6737fe8f (patch)
treebf2498d6028536bed7b915f6603282e812392828 /src
parentc1d2468a2b9eae8f67844ac4945311b54f38cdf1 (diff)
downloadopenttd-8d7f246b55fc62dc06c7af2530ad98cf6737fe8f.tar.xz
(svn r12367) -Fix [FS#1650](r707): commands were sent to clients waiting for map download causing 'executing command from the past' error
Diffstat (limited to 'src')
-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 f864fefd8..a968b3114 100644
--- a/src/network/network_data.cpp
+++ b/src/network/network_data.cpp
@@ -79,7 +79,7 @@ void NetworkSend_Command(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, Comma
/* And we queue it for delivery to the clients */
NetworkTCPSocketHandler *cs;
FOR_ALL_CLIENTS(cs) {
- if (cs->status > STATUS_AUTH) NetworkAddCommandQueue(cs, &c);
+ if (cs->status > STATUS_MAP_WAIT) NetworkAddCommandQueue(cs, &c);
}
return;
}