(svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo

This commit is contained in:
tron
2006-04-02 12:49:18 +00:00
parent e9a5ca70e2
commit 892a4c587d
13 changed files with 29 additions and 32 deletions

View File

@@ -212,9 +212,9 @@ static uint GetSlopeZ_Unmovable(const TileInfo* ti)
}
}
static uint GetSlopeTileh_Unmovable(const TileInfo *ti)
static uint GetSlopeTileh_Unmovable(TileIndex tile, uint tileh)
{
return IsOwnedLand(ti->tile) ? ti->tileh : 0;
return IsOwnedLand(tile) ? tileh : 0;
}
static int32 ClearTile_Unmovable(TileIndex tile, byte flags)