summaryrefslogtreecommitdiff
path: root/src/viewport_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/viewport_cmd.h
parentc6d7b98808575f31103121528565ed252a3cfc6c (diff)
downloadopenttd-58cff7b081ce9ea4b5314cf8324ca60607389d15.tar.xz
Codechange: Un-bitstuff the remaining on-map commands.
Diffstat (limited to 'src/viewport_cmd.h')
-rw-r--r--src/viewport_cmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/viewport_cmd.h b/src/viewport_cmd.h
index f549d755e..0cae1d931 100644
--- a/src/viewport_cmd.h
+++ b/src/viewport_cmd.h
@@ -11,8 +11,9 @@
#define VIEWPORT_CMD_H
#include "command_type.h"
+#include "viewport_type.h"
-CommandProc CmdScrollViewport;
+CommandCost CmdScrollViewport(DoCommandFlag flags, TileIndex tile, ViewportScrollTarget target, uint32 ref);
DEF_CMD_TRAIT(CMD_SCROLL_VIEWPORT, CmdScrollViewport, CMD_DEITY, CMDT_OTHER_MANAGEMENT)