From 7163a64c25e5ad8be4bf261c6fbbd909f75f4de3 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 2 Apr 2006 12:49:18 +0000 Subject: (svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo --- tree_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tree_cmd.c') 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) -- cgit v1.2.3-54-g00ecf