mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Use new ride window when clicking on ride
This commit is contained in:
@@ -933,7 +933,7 @@ static void game_handle_input_mouse(int x, int y, int state)
|
||||
eax = RCT2_ADDRESS(0x0099BA64, uint8)[16 * map_element->properties.track.type];
|
||||
if (!(eax & 0x10)){//If not station track
|
||||
//Open ride window in overview mode.
|
||||
RCT2_CALLPROC_X(0x6ACC28, map_element->properties.track.ride_index, ebx, ecx, (int)map_element, esi, edi, ebp);
|
||||
window_ride_main_open(map_element->properties.track.ride_index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -291,7 +291,7 @@ void news_item_open_subject(int type, int subject) {
|
||||
|
||||
switch (type) {
|
||||
case NEWS_ITEM_RIDE:
|
||||
RCT2_CALLPROC_X(0x006ACC28, subject, 0, 0, 0, 0, 0, 0);
|
||||
window_ride_main_open(subject);
|
||||
break;
|
||||
case NEWS_ITEM_PEEP_ON_RIDE:
|
||||
case NEWS_ITEM_PEEP:
|
||||
|
||||
Reference in New Issue
Block a user