summaryrefslogtreecommitdiff
path: root/src/train_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/train_gui.cpp')
-rw-r--r--src/train_gui.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/train_gui.cpp b/src/train_gui.cpp
index 616b2d5c9..7ae0103b8 100644
--- a/src/train_gui.cpp
+++ b/src/train_gui.cpp
@@ -22,6 +22,13 @@
#include "table/sprites.h"
#include "table/strings.h"
+/**
+ * Callback for building wagons.
+ * @param result The result of the command.
+ * @param tile The tile the command was executed on.
+ * @param p1 Additional data for the command (for the #CommandProc)
+ * @param p2 Additional data for the command (for the #CommandProc)
+ */
void CcBuildWagon(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2)
{
if (result.Failed()) return;