summaryrefslogtreecommitdiff
path: root/src/viewport_cmd.h
diff options
context:
space:
mode:
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)