mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix ferris wheel rotating one extra time (fixes #2918)
This commit is contained in:
parent
2077c51e0b
commit
94d73f0c90
|
@ -3631,7 +3631,7 @@ static void vehicle_update_ferris_wheel_rotating(rct_vehicle* vehicle) {
|
|||
if (subState == vehicle->var_1F) {
|
||||
bool shouldStop = true;
|
||||
if (ride->status != RIDE_STATUS_CLOSED) {
|
||||
if (vehicle->var_CE <= ride->rotations)
|
||||
if (vehicle->var_CE < ride->rotations)
|
||||
shouldStop = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue