summaryrefslogtreecommitdiff
path: root/src/command.h
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
commit872e74c028679afad1e52481063b1624c235955e (patch)
tree2bdf5be574e91e6183f4d75b3b91d0503f43d2cb /src/command.h
parent0cd8274658772bee637dd7180edb0e2c00e0edd9 (diff)
downloadopenttd-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/command.h')
-rw-r--r--src/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.h b/src/command.h
index 8cb78c9e0..809fdab0f 100644
--- a/src/command.h
+++ b/src/command.h
@@ -202,7 +202,7 @@ static const CommandCost CMD_ERROR = CommandCost((StringID)INVALID_STRING_ID);
/* command.cpp */
typedef void CommandCallback(bool success, TileIndex tile, uint32 p1, uint32 p2);
CommandCost DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc);
-bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, CommandCallback *callback, uint32 cmd);
+bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, CommandCallback *callback, uint32 cmd, bool my_cmd = true);
#ifdef ENABLE_NETWORK