diff options
Diffstat (limited to 'industry_cmd.c')
-rw-r--r-- | industry_cmd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/industry_cmd.c b/industry_cmd.c index 0a228343a..385c10ace 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -398,8 +398,9 @@ static void DrawTile_Industry(TileInfo *ti) } -static uint GetSlopeZ_Industry(TileInfo *ti) { - return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z; +static uint GetSlopeZ_Industry(const TileInfo* ti) +{ + return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z; } static uint GetSlopeTileh_Industry(const TileInfo *ti) { |