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 /clear_cmd.c | |
parent | 5f604ec63a2a603d8c008210ac69760a5f552826 (diff) | |
download | openttd-ece9b9b2b6a2feb43c9215c3073e2c09f9f72ae9.tar.xz |
(svn r3066) Constify the parameter of GetSlopeZ_*()
Diffstat (limited to 'clear_cmd.c')
-rw-r--r-- | clear_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clear_cmd.c b/clear_cmd.c index 7ee1f6ef8..90b70e568 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -549,7 +549,7 @@ static void DrawTile_Clear(TileInfo *ti) DrawClearLandFence(ti); } -static uint GetSlopeZ_Clear(TileInfo *ti) +static uint GetSlopeZ_Clear(const TileInfo* ti) { return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z; } |