mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
Pass Ride* instead of ride_id_t
This commit is contained in:
@@ -353,7 +353,7 @@ static void window_track_place_tooldown(rct_window* w, rct_widgetindex widgetInd
|
||||
}
|
||||
else
|
||||
{
|
||||
ride_initialise_construction_window(rideIndex);
|
||||
ride_initialise_construction_window(get_ride(rideIndex));
|
||||
w = window_find_by_class(WC_RIDE_CONSTRUCTION);
|
||||
window_event_mouse_up_call(w, WC_RIDE_CONSTRUCTION__WIDX_ENTRANCE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user