summaryrefslogtreecommitdiff
path: root/src/network/network_client.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-10 20:59:41 +0000
committerrubidium <rubidium@openttd.org>2007-07-10 20:59:41 +0000
commit3ba01bec844e80e77f9f8450c1ffe414e121202a (patch)
tree2bdf5be574e91e6183f4d75b3b91d0503f43d2cb /src/network/network_client.cpp
parent5ef18e693c7a14a59bd57bbee061b0a956415851 (diff)
downloadopenttd-3ba01bec844e80e77f9f8450c1ffe414e121202a.tar.xz
(svn r10501) -Fix [FS#1015]: error dialog was sometimes shown on all clients when a command failed instead of only the client that actually did the command.
Diffstat (limited to 'src/network/network_client.cpp')
-rw-r--r--src/network/network_client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp
index 0cf21c2ba..495181d76 100644
--- a/src/network/network_client.cpp
+++ b/src/network/network_client.cpp
@@ -628,6 +628,7 @@ DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER_COMMAND)
p->Recv_string(cp->text, sizeof(cp->text));
cp->callback = p->Recv_uint8();
cp->frame = p->Recv_uint32();
+ cp->my_cmd = p->Recv_bool();
cp->next = NULL;
// The server did send us this command..