diff --git a/src/input.c b/src/input.c index 74020608c3..ce1dfadbd5 100644 --- a/src/input.c +++ b/src/input.c @@ -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; } } diff --git a/src/news_item.c b/src/news_item.c index f00f99553b..eccd51623d 100644 --- a/src/news_item.c +++ b/src/news_item.c @@ -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: