mirror of https://github.com/OpenRCT2/OpenRCT2.git
Keep RCT1 launch modes on TD4 import
This commit is contained in:
parent
e28f44f480
commit
98253c8d21
|
@ -615,14 +615,16 @@ rct_track_td6* load_track_design(const char *path)
|
|||
track_design->type = RIDE_TYPE_WOODEN_ROLLER_COASTER;
|
||||
|
||||
if (track_design->type == RIDE_TYPE_CORKSCREW_ROLLER_COASTER) {
|
||||
if (track_design->ride_mode == RCT1_RIDE_MODE_POWERED_LAUNCH)
|
||||
track_design->ride_mode = RIDE_MODE_POWERED_LAUNCH;
|
||||
if (track_design->vehicle_type == 79) {
|
||||
if (track_design->ride_mode == 2)
|
||||
track_design->ride_mode = 1;
|
||||
}
|
||||
}
|
||||
|
||||
// All TD4s that use powered launch use the type that doesn't pass the station.
|
||||
if (track_design->ride_mode == RCT1_RIDE_MODE_POWERED_LAUNCH)
|
||||
track_design->ride_mode = RIDE_MODE_POWERED_LAUNCH;
|
||||
|
||||
rct_object_entry* vehicle_object;
|
||||
if (track_design->type == RIDE_TYPE_MAZE) {
|
||||
vehicle_object = RCT2_ADDRESS(0x0097F66C, rct_object_entry);
|
||||
|
|
Loading…
Reference in New Issue