diff options
author | rubidium <rubidium@openttd.org> | 2006-12-26 18:27:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-12-26 18:27:40 +0000 |
commit | 4229d9e545a0112201fb74f56a5dd98455bb78b0 (patch) | |
tree | 15f8c74328eb6c9764ec4884a193cc672fa8e861 | |
parent | 073e0eb3c9148d6dd8b2c9ce788843b8180351cb (diff) | |
download | openttd-4229d9e545a0112201fb74f56a5dd98455bb78b0.tar.xz |
(svn r7566) -Fix: only send commands to the new client from the map, that is going to be transfered to the new client, is saved on the server and not while waiting for the 'map download slot' as that will add commands for already passed frames in the command queue of the new client.
-rw-r--r-- | network_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_server.c b/network_server.c index 2be0e2654..f1179ce2f 100644 --- a/network_server.c +++ b/network_server.c @@ -862,7 +862,7 @@ DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT_COMMAND) // Queue the command for the clients (are send at the end of the frame // if they can handle it ;)) FOR_ALL_CLIENTS(new_cs) { - if (new_cs->status > STATUS_AUTH) { + if (new_cs->status >= STATUS_MAP) { // Callbacks are only send back to the client who sent them in the // first place. This filters that out. cp->callback = (new_cs != cs) ? 0 : callback; |