summaryrefslogtreecommitdiff
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
commit5db7288ea961e1418d0983d8ef4c08c32d2fc879 (patch)
treebf2498d6028536bed7b915f6603282e812392828
parentf8bae50bf5fd60d99c492ee05e847b348d79282f (diff)
downloadopenttd-5db7288ea961e1418d0983d8ef4c08c32d2fc879.tar.xz
(svn r12367) -Fix [FS#1650](r707): commands were sent to clients waiting for map download causing 'executing command from the past' error
-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;
}