diff options
author | tron <tron@openttd.org> | 2005-10-19 14:49:46 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-19 14:49:46 +0000 |
commit | ece9b9b2b6a2feb43c9215c3073e2c09f9f72ae9 (patch) | |
tree | ec3c494c40b7ce63f77525976e380da0b0985543 /unmovable_cmd.c | |
parent | 5f604ec63a2a603d8c008210ac69760a5f552826 (diff) | |
download | openttd-ece9b9b2b6a2feb43c9215c3073e2c09f9f72ae9.tar.xz |
(svn r3066) Constify the parameter of GetSlopeZ_*()
Diffstat (limited to 'unmovable_cmd.c')
-rw-r--r-- | unmovable_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |