summaryrefslogtreecommitdiff
path: root/src/viewport_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewport_func.h')
-rw-r--r--src/viewport_func.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viewport_func.h b/src/viewport_func.h
index 8e5a2b1d7..f5c9c9410 100644
--- a/src/viewport_func.h
+++ b/src/viewport_func.h
@@ -53,10 +53,10 @@ Vehicle *CheckMouseOverVehicle();
void ViewportDoDraw(const ViewPort *vp, int left, int top, int right, int bottom);
-bool ScrollWindowTo(int x, int y, Window *w, bool instant = false);
+bool ScrollWindowTo(int x, int y, int z, Window *w, bool instant = false);
bool ScrollMainWindowToTile(TileIndex tile, bool instant = false);
-bool ScrollMainWindowTo(int x, int y, bool instant = false);
+bool ScrollMainWindowTo(int x, int y, int z = -1, bool instant = false);
extern Point _tile_fract_coords;