1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-18 09:52:44 +01:00

(svn r14504) -Cleanup: Use the right variable type for tile offsets.

This commit is contained in:
michi_cc
2008-10-20 19:35:48 +00:00
parent 6c35825453
commit 02c99bdf66
3 changed files with 5 additions and 5 deletions

View File

@@ -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) {