summaryrefslogtreecommitdiff
path: root/src/network/core
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/core
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/core')
-rw-r--r--src/network/core/tcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h
index bd6a1d01f..8314edc17 100644
--- a/src/network/core/tcp.h
+++ b/src/network/core/tcp.h
@@ -68,6 +68,7 @@ struct CommandPacket {
char text[80]; ///< possible text sent for name changes etc
uint32 frame; ///< the frame in which this packet is executed
byte callback; ///< any callback function executed upon successful completion of the command
+ bool my_cmd; ///< did the command originate from "me"
};
/** Status of a client */