summaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/viewport.c b/viewport.c
index b8db7ac1b..d0a287985 100644
--- a/viewport.c
+++ b/viewport.c
@@ -1792,13 +1792,6 @@ bool ScrollWindowTo(int x , int y, Window* w)
return true;
}
-/* scrolls the viewport in a window to a given tile */
-bool ScrollWindowToTile(TileIndex tile, Window* w)
-{
- return ScrollWindowTo(TileX(tile) * 16 + 8, TileY(tile) * 16 + 8, w);
-}
-
-
bool ScrollMainWindowTo(int x, int y)
{