mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fixed small issue with mouse down code
This commit is contained in:
parent
7de050b7f3
commit
a691216044
|
@ -1098,7 +1098,7 @@ void handle_shortcut_command(int shortcutIndex)
|
||||||
RCT2_CALLPROC_EBPSAFE(0x006B3CFF);
|
RCT2_CALLPROC_EBPSAFE(0x006B3CFF);
|
||||||
window = window_find_by_id(WC_CONSTRUCT_RIDE, 0);
|
window = window_find_by_id(WC_CONSTRUCT_RIDE, 0);
|
||||||
if (window != NULL)
|
if (window != NULL)
|
||||||
window_event_helper(window, 10, WE_MOUSE_DOWN);
|
RCT2_CALLPROC_WE_MOUSE_DOWN(window->event_handlers[WE_MOUSE_DOWN], 10, window, NULL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SHORTCUT_SHOW_RIDES_LIST:
|
case SHORTCUT_SHOW_RIDES_LIST:
|
||||||
|
|
Loading…
Reference in New Issue