(svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix.

This commit is contained in:
frosch
2008-01-17 16:55:13 +00:00
parent 4f31704e2e
commit 978a7ca56a
3 changed files with 4 additions and 3 deletions

View File

@@ -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.