summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp
index fccbe6148..001f2ee7d 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -318,7 +318,7 @@ static bool DoCommandP(Commands cmd, StringID err_message, CommandCallback *call
}
if (!estimate_only && !only_sending && callback != nullptr) {
- callback(res, tile, p1, p2, cmd);
+ callback(res, cmd, tile, p1, p2, text);
}
return res.Succeeded();