From 02c99bdf66fe89c58bfac40bdf664f6bf907fc8b Mon Sep 17 00:00:00 2001 From: michi_cc Date: Mon, 20 Oct 2008 19:35:48 +0000 Subject: (svn r14504) -Cleanup: Use the right variable type for tile offsets. --- src/town_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/town_cmd.cpp') 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) { -- cgit v1.2.3-54-g00ecf