From 0e38c5a2d17a6a15377c81d875f417b8d192afa6 Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Sun, 22 May 2016 07:32:23 +0100 Subject: [PATCH] Fix low scenery items drawing box --- src/paint/map_element/scenery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/paint/map_element/scenery.c b/src/paint/map_element/scenery.c index a92c79bf8a..d0fde736fe 100644 --- a/src/paint/map_element/scenery.c +++ b/src/paint/map_element/scenery.c @@ -90,8 +90,8 @@ void scenery_paint(uint8 direction, int height, rct_map_element* mapElement) { boxoffset.x = x_offset; boxoffset.y = y_offset; boxlength.z = entry->small_scenery.height - 4; - if (boxlength.z > 0x80) { - boxlength.z = 0x80; + if (boxlength.z < 0) { + boxlength.z = -128; } if (entry->small_scenery.flags & SMALL_SCENERY_FLAG6) { if (mapElement->properties.scenery.age >= 40) {