summaryrefslogtreecommitdiff
path: root/src/command_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_func.h')
-rw-r--r--src/command_func.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command_func.h b/src/command_func.h
index 85b089398..69464509b 100644
--- a/src/command_func.h
+++ b/src/command_func.h
@@ -70,6 +70,9 @@ CommandCost DoCommand(const CommandContainer *container, DoCommandFlag flags);
bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, CommandCallback *callback = NULL, const char *text = NULL, bool my_cmd = true);
bool DoCommandP(const CommandContainer *container, bool my_cmd = true);
+/** Internal helper function for DoCommandP. Do not use. */
+CommandCost DoCommandPInternal(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, CommandCallback *callback, const char *text, bool my_cmd, bool estimate_only);
+
#ifdef ENABLE_NETWORK
/**
* Send a command over the network