1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Fix large scenery rotation button missing

Button was missing when the large scenery item was in position 0. Missing a compare. Scenery window needs to be refactored at some point. Fixes #1342.
This commit is contained in:
Duncan Frost
2015-06-15 18:10:57 +01:00
parent b206a31cae
commit b997b8bf14

View File

@@ -923,7 +923,7 @@ void window_scenery_invalidate()
window_scenery_widgets[WIDX_SCENERY_ROTATE_OBJECTS_BUTTON].type = WWT_FLATBTN;
}
}
else if (tabSelectedSceneryId > 0x300) {
else if (tabSelectedSceneryId >= 0x300) {
window_scenery_widgets[WIDX_SCENERY_ROTATE_OBJECTS_BUTTON].type = WWT_FLATBTN;
}
}