summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2008-10-20 19:35:48 +0000
committermichi_cc <michi_cc@openttd.org>2008-10-20 19:35:48 +0000
commit02c99bdf66fe89c58bfac40bdf664f6bf907fc8b (patch)
tree5703d7774e7ee037106c7b152f4e493c4fdf9346 /src/town_cmd.cpp
parent6c35825453699f7490c19198cd8cc9e56b299d0c (diff)
downloadopenttd-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.cpp2
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) {