mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
Fix plugin ‘Car.travelBy()’ moving other cars as well (#17369)
This commit is contained in:
parent
69ff925b1e
commit
4d8dd516bf
2 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@
|
|||
- Fix: [#17335] [Plugin] Documentation has an incorrect type for PixelData ‘data’ attribute.
|
||||
- Fix: [#17337] Air Powered Vertical Coaster trains not imported properly when loading RCT1 parks.
|
||||
- Fix: [#17346] Surface height markers are concealed by sprites of same surface.
|
||||
- Fix: [#17369] [Plugin] ‘Car.travelBy()’ moves other cars as well.
|
||||
- Fix: [#17381] Air Powered Vertical Coaster stat penalty is wrong.
|
||||
- Fix: [#17433] Wrong T-shirt colours for guests on a Twist ride.
|
||||
|
||||
|
|
|
@ -8891,7 +8891,7 @@ int32_t Vehicle::UpdateTrackMotion(int32_t* outStation)
|
|||
UpdateVelocity();
|
||||
|
||||
Vehicle* vehicle = this;
|
||||
if (_vehicleVelocityF64E08 < 0)
|
||||
if (_vehicleVelocityF64E08 < 0 && !vehicle->HasUpdateFlag(VEHICLE_UPDATE_FLAG_SINGLE_CAR_POSITION))
|
||||
{
|
||||
vehicle = vehicle->TrainTail();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue