summaryrefslogtreecommitdiff
path: root/src/script/script_instance.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/script_instance.hpp')
-rw-r--r--src/script/script_instance.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/script_instance.hpp b/src/script/script_instance.hpp
index 290568fdd..57f8dcc72 100644
--- a/src/script/script_instance.hpp
+++ b/src/script/script_instance.hpp
@@ -179,10 +179,11 @@ public:
* @param result The result of the command.
* @param tile The tile on which the command was executed.
* @param data Command data as given to DoCommandPInternal.
+ * @param result_data Extra data return from the command.
* @param cmd cmd as given to DoCommandPInternal.
* @return true if we handled result.
*/
- bool DoCommandCallback(const CommandCost &result, TileIndex tile, const CommandDataBuffer &data, Commands cmd);
+ bool DoCommandCallback(const CommandCost &result, TileIndex tile, const CommandDataBuffer &data, CommandDataBuffer result_data, Commands cmd);
/**
* Insert an event for this script.