summaryrefslogtreecommitdiff
path: root/src/rail_cmd.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-11-28 22:43:38 +0100
committerMichael Lutz <michi@icosahedron.de>2021-12-16 22:28:32 +0100
commit850385465543a9bd589084ec2ac6b0693c481fea (patch)
treefa0d375d36e946caee2c4ebc6a8ecd4e35f33d5b /src/rail_cmd.h
parentd85348b1d1b9aa7099255eda7c1058f9749d1003 (diff)
downloadopenttd-850385465543a9bd589084ec2ac6b0693c481fea.tar.xz
Codechange: Pass unpacked command arguments to command callbacks (except Script).
Diffstat (limited to 'src/rail_cmd.h')
-rw-r--r--src/rail_cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.h b/src/rail_cmd.h
index 2299435c2..2a1b69690 100644
--- a/src/rail_cmd.h
+++ b/src/rail_cmd.h
@@ -38,8 +38,8 @@ DEF_CMD_TRAIT(CMD_BUILD_SIGNAL_TRACK, CmdBuildSignalTrack, CMD_AUTO,
DEF_CMD_TRAIT(CMD_REMOVE_SIGNAL_TRACK, CmdRemoveSignalTrack, CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION)
CommandCallback CcPlaySound_CONSTRUCTION_RAIL;
-CommandCallback CcRailDepot;
CommandCallback CcStation;
CommandCallback CcBuildRailTunnel;
+void CcRailDepot(Commands cmd, const CommandCost &result, TileIndex tile, RailType rt, DiagDirection dir);
#endif /* RAIL_CMD_H */