diff options
author | frosch <frosch@openttd.org> | 2008-01-17 16:55:13 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-01-17 16:55:13 +0000 |
commit | 03e7f6f2d2c3802fd6ad653302aec52585cc0ef9 (patch) | |
tree | dc097272bb93f6c019f9ed773ae4fdb6106339ea /src/map_func.h | |
parent | 82727a8713e5ac551f6ea87f6a8cf155b73d2464 (diff) | |
download | openttd-03e7f6f2d2c3802fd6ad653302aec52585cc0ef9.tar.xz |
(svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix.
Diffstat (limited to 'src/map_func.h')
-rw-r--r-- | src/map_func.h | 2 |
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. |