You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07:00
One issue fixed with Ferris Wheel
This commit is contained in:
+3
-3
@@ -3608,7 +3608,7 @@ static void vehicle_update_ferris_wheel_rotating(rct_vehicle* vehicle) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8 rotation = vehicle->var_1F;
|
uint8 rotation = vehicle->var_1F;
|
||||||
if (ride->mode & RIDE_MODE_FORWARD_ROTATION)
|
if (ride->mode == RIDE_MODE_FORWARD_ROTATION)
|
||||||
rotation++;
|
rotation++;
|
||||||
else
|
else
|
||||||
rotation--;
|
rotation--;
|
||||||
@@ -3622,7 +3622,7 @@ static void vehicle_update_ferris_wheel_rotating(rct_vehicle* vehicle) {
|
|||||||
vehicle_invalidate(vehicle);
|
vehicle_invalidate(vehicle);
|
||||||
|
|
||||||
uint8 subState = vehicle->sub_state;
|
uint8 subState = vehicle->sub_state;
|
||||||
if (ride->mode & RIDE_MODE_FORWARD_ROTATION)
|
if (ride->mode == RIDE_MODE_FORWARD_ROTATION)
|
||||||
subState++;
|
subState++;
|
||||||
else
|
else
|
||||||
subState--;
|
subState--;
|
||||||
@@ -3646,7 +3646,7 @@ static void vehicle_update_ferris_wheel_rotating(rct_vehicle* vehicle) {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
subState = vehicle->sub_state;
|
subState = vehicle->sub_state;
|
||||||
if (ride->mode & RIDE_MODE_FORWARD_ROTATION)
|
if (ride->mode == RIDE_MODE_FORWARD_ROTATION)
|
||||||
subState += 8;
|
subState += 8;
|
||||||
else
|
else
|
||||||
subState -= 8;
|
subState -= 8;
|
||||||
|
|||||||
Reference in New Issue
Block a user