forked from mirror/OpenTTD
(svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo
This commit is contained in:
@@ -326,9 +326,9 @@ static uint GetSlopeZ_Trees(const TileInfo* ti)
|
||||
return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z;
|
||||
}
|
||||
|
||||
static uint GetSlopeTileh_Trees(const TileInfo* ti)
|
||||
static uint GetSlopeTileh_Trees(TileIndex tile, uint tileh)
|
||||
{
|
||||
return ti->tileh;
|
||||
return tileh;
|
||||
}
|
||||
|
||||
static int32 ClearTile_Trees(TileIndex tile, byte flags)
|
||||
|
Reference in New Issue
Block a user