Fix ferris wheel rotating one extra time (fixes #2918)

This commit is contained in:
Alexander Overvoorde 2016-02-12 01:18:48 +01:00
parent 2077c51e0b
commit 94d73f0c90
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}