mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #2929 from Wirlie/patch-1
One issue fixed with Ferris Wheel
This commit is contained in:
commit
58d0cc9e79
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue