summaryrefslogtreecommitdiff
path: root/src/depot_cmd.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-11-14 16:39:17 +0100
committerMichael Lutz <michi@icosahedron.de>2021-12-16 22:28:32 +0100
commit6fe445e6c0fa3163aba48b1ec6d810b6594777bd (patch)
tree320cd8d2d76b38ee06f9fde07ea349adeb3f228a /src/depot_cmd.h
parent21675ec7e22bfe53f20300cc27b4d50c84aeb4dc (diff)
downloadopenttd-6fe445e6c0fa3163aba48b1ec6d810b6594777bd.tar.xz
Codechange: Un-bitstuff station/depot/waypoint commands.
Diffstat (limited to 'src/depot_cmd.h')
-rw-r--r--src/depot_cmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/depot_cmd.h b/src/depot_cmd.h
index cc9701fb7..d476aecaf 100644
--- a/src/depot_cmd.h
+++ b/src/depot_cmd.h
@@ -11,8 +11,9 @@
#define DEPOT_CMD_H
#include "command_type.h"
+#include "depot_type.h"
-CommandProc CmdRenameDepot;
+CommandCost CmdRenameDepot(DoCommandFlag flags, DepotID depot_id, const std::string &text);
DEF_CMD_TRAIT(CMD_RENAME_DEPOT, CmdRenameDepot, 0, CMDT_OTHER_MANAGEMENT)