1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00

Use station index in a few more places (#11066)

This commit is contained in:
Michael Steenbeek
2020-03-27 11:13:02 +01:00
committed by GitHub
parent 8546a227c6
commit b70c5cefd6
6 changed files with 10 additions and 10 deletions

View File

@@ -373,7 +373,7 @@ int32_t cable_lift_update_track_motion(Vehicle* cableLift)
_vehicleF64E2C = 0;
gCurrentVehicle = cableLift;
_vehicleMotionTrackFlags = 0;
_vehicleStationIndex = 0xFF;
_vehicleStationIndex = STATION_INDEX_NULL;
cableLift->velocity += cableLift->acceleration;
_vehicleVelocityF64E08 = cableLift->velocity;