1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Fix bug in rct1_fix_entrance_positions.

Refactor RCT1 import.
Allow rotate shortcut to rotate park entrance placement.
This commit is contained in:
IntelOrca
2015-04-01 21:23:05 +01:00
parent 5c6a69b48f
commit d86f15c87d
4 changed files with 149 additions and 45 deletions

View File

@@ -204,6 +204,13 @@ static void shortcut_rotate_construction_object()
window_event_mouse_up_call(w, 3);
return;
}
// Rotate park entrance
w = window_find_by_class(WC_MAP);
if (w != NULL && !widget_is_disabled(w, 20) && w->widgets[20].type != WWT_EMPTY) {
window_event_mouse_up_call(w, 20);
return;
}
}
static void shortcut_underground_view_toggle()