From 71d293f2a3a469b82804049d8e5325d82681d2f8 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 19 Oct 2005 14:49:46 +0000 Subject: (svn r3066) Constify the parameter of GetSlopeZ_*() --- unmovable_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unmovable_cmd.c') diff --git a/unmovable_cmd.c b/unmovable_cmd.c index 505abd72c..9b2f2e3d2 100644 --- a/unmovable_cmd.c +++ b/unmovable_cmd.c @@ -180,9 +180,9 @@ static void DrawTile_Unmovable(TileInfo *ti) } } -static uint GetSlopeZ_Unmovable(TileInfo *ti) +static uint GetSlopeZ_Unmovable(const TileInfo* ti) { - return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z; + return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z; } static uint GetSlopeTileh_Unmovable(const TileInfo *ti) -- cgit v1.2.3-54-g00ecf