summaryrefslogtreecommitdiff
path: root/src/object_cmd.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-11-21 23:03:44 +0100
committerMichael Lutz <michi@icosahedron.de>2021-12-16 22:28:32 +0100
commit58cff7b081ce9ea4b5314cf8324ca60607389d15 (patch)
tree0d46a0522d5fbbb1039e1e31e07557ee1ad9befb /src/object_cmd.h
parentc6d7b98808575f31103121528565ed252a3cfc6c (diff)
downloadopenttd-58cff7b081ce9ea4b5314cf8324ca60607389d15.tar.xz
Codechange: Un-bitstuff the remaining on-map commands.
Diffstat (limited to 'src/object_cmd.h')
-rw-r--r--src/object_cmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object_cmd.h b/src/object_cmd.h
index b7119afc3..ea7412544 100644
--- a/src/object_cmd.h
+++ b/src/object_cmd.h
@@ -11,8 +11,9 @@
#define OBJECT_CMD_H
#include "command_type.h"
+#include "object_type.h"
-CommandProc CmdBuildObject;
+CommandCost CmdBuildObject(DoCommandFlag flags, TileIndex tile, ObjectType type, uint8 view);
DEF_CMD_TRAIT(CMD_BUILD_OBJECT, CmdBuildObject, CMD_DEITY | CMD_NO_WATER | CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION)