mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix placing entrance/exit for ride ID >= 256
This commit is contained in:
parent
d857dca36d
commit
1c5af028e1
|
@ -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 = static_cast<ride_id_t>(w->number);
|
||||
gRideEntranceExitPlaceStationIndex = 0;
|
||||
input_set_flag(INPUT_FLAG_6, true);
|
||||
ride_construction_invalidate_current_track();
|
||||
|
|
Loading…
Reference in New Issue