mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 12:33:17 +01:00
Fix placing entrance/exit for ride ID >= 256
This commit is contained in:
@@ -1981,7 +1981,7 @@ static void window_ride_construction_entrance_click(rct_window* w)
|
||||
else
|
||||
{
|
||||
gRideEntranceExitPlaceType = ENTRANCE_TYPE_RIDE_ENTRANCE;
|
||||
gRideEntranceExitPlaceRideIndex = w->number & 0xFF;
|
||||
gRideEntranceExitPlaceRideIndex = w->number % MAX_RIDES;
|
||||
gRideEntranceExitPlaceStationIndex = 0;
|
||||
input_set_flag(INPUT_FLAG_6, true);
|
||||
ride_construction_invalidate_current_track();
|
||||
|
||||
Reference in New Issue
Block a user