mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Fix low scenery items drawing box
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user