diff options
author | rubidium <rubidium@openttd.org> | 2007-07-10 20:59:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-10 20:59:41 +0000 |
commit | 872e74c028679afad1e52481063b1624c235955e (patch) | |
tree | 2bdf5be574e91e6183f4d75b3b91d0503f43d2cb /src/network/core | |
parent | 0cd8274658772bee637dd7180edb0e2c00e0edd9 (diff) | |
download | openttd-872e74c028679afad1e52481063b1624c235955e.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.h | 1 |
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 */ |