mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #3052. Flying roller coasters now correctly place vehicles.
Issue caused by a missing bit of code during implementation.
This commit is contained in:
parent
29df98ea9e
commit
2431558f84
|
@ -7078,7 +7078,7 @@ bool vehicle_update_track_motion_backwards_get_new_track(rct_vehicle *vehicle, u
|
|||
return false;
|
||||
}
|
||||
|
||||
int trackColour = vehicle->update_flags >> 9;
|
||||
int trackColour = ((vehicle->update_flags >> 9) ^ mapElement->properties.track.colour) & 4;
|
||||
int bank = gTrackDefinitions[trackType].bank_end;
|
||||
bank = track_get_actual_bank_2(ride->type, trackColour, bank);
|
||||
int vAngle = gTrackDefinitions[trackType].vangle_end;
|
||||
|
|
Loading…
Reference in New Issue