diff options
Diffstat (limited to 'tree_cmd.c')
-rw-r--r-- | tree_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tree_cmd.c b/tree_cmd.c index 28290c7fe..eb87d7766 100644 --- a/tree_cmd.c +++ b/tree_cmd.c @@ -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) |