summaryrefslogtreecommitdiff
path: root/src/map_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map_func.h')
-rw-r--r--src/map_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map_func.h b/src/map_func.h
index 28bf80a27..8b313d7f6 100644
--- a/src/map_func.h
+++ b/src/map_func.h
@@ -227,7 +227,7 @@ static inline TileIndexDiff ToTileIndexDiff(TileIndexDiffC tidc)
/**
* Adds an offset to a tile and check if we are still on the map.
*/
-uint TileAddWrap(TileIndex tile, int addx, int addy);
+TileIndex TileAddWrap(TileIndex tile, int addx, int addy);
/**
* Returns the TileIndexDiffC offset from a DiagDirection.