diff options
author | michi_cc <michi_cc@openttd.org> | 2008-10-20 19:35:48 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2008-10-20 19:35:48 +0000 |
commit | 02c99bdf66fe89c58bfac40bdf664f6bf907fc8b (patch) | |
tree | 5703d7774e7ee037106c7b152f4e493c4fdf9346 /src/town_cmd.cpp | |
parent | 6c35825453699f7490c19198cd8cc9e56b299d0c (diff) | |
download | openttd-02c99bdf66fe89c58bfac40bdf664f6bf907fc8b.tar.xz |
(svn r14504) -Cleanup: Use the right variable type for tile offsets.
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 4b3d19364..e55781b99 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -2026,7 +2026,7 @@ static void DoClearTownHouseHelper(TileIndex tile, Town *t, HouseID house) * @param house Is changed to the HouseID of the north tile of the same house * @return TileDiff from the tile of the given HouseID to the north tile */ -TileIndex GetHouseNorthPart(HouseID &house) +TileIndexDiff GetHouseNorthPart(HouseID &house) { if (house >= 3) { // house id 0,1,2 MUST be single tile houses, or this code breaks. if (GetHouseSpecs(house - 1)->building_flags & TILE_SIZE_2x1) { |