diff options
Diffstat (limited to 'clear_cmd.c')
-rw-r--r-- | clear_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clear_cmd.c b/clear_cmd.c index aea144127..d859a9823 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -518,9 +518,9 @@ static uint GetSlopeZ_Clear(const TileInfo* ti) return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z; } -static uint GetSlopeTileh_Clear(const TileInfo *ti) +static uint GetSlopeTileh_Clear(TileIndex tile, uint tileh) { - return ti->tileh; + return tileh; } static void GetAcceptedCargo_Clear(TileIndex tile, AcceptedCargo ac) |