unmovable_cmd.c
changeset 2537 d9c0df52a466
parent 2517 b90693227193
child 2817 58dcead3f545
--- a/unmovable_cmd.c	Wed Oct 19 08:34:37 2005 +0000
+++ b/unmovable_cmd.c	Wed Oct 19 14:49:46 2005 +0000
@@ -180,9 +180,9 @@
 	}
 }
 
-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)