Fix tall ride consideration

The consideration of tall rides was probably not working properly as it was doing a straight comparrison of a flags variable.
This instead removes it as it already checks if the ride has ratings anyway. I've also added a status check so that guests do not attempt to walk to a ride far away that isn't open.
This commit is contained in:
Ted John 2017-01-13 18:23:28 +00:00 committed by Michał Janiszewski
parent 3e621d75f6
commit 0da434bb8a
1 changed files with 2 additions and 2 deletions

View File

@ -11987,10 +11987,10 @@ static void peep_pick_ride_to_go_on(rct_peep *peep)
}
}
// Always take the big rides into consideration (realistic as you can usually see them from anywhere in the park)
// Always take the tall rides into consideration (realistic as you can usually see them from anywhere in the park)
sint32 i;
FOR_ALL_RIDES(i, ride) {
if (ride->lifecycle_flags == RIDE_LIFECYCLE_TESTED) continue;
if (ride->status != RIDE_STATUS_OPEN) continue;
if (!ride_has_ratings(ride)) continue;
if (ride->highest_drop_height <= 66 && ride->excitement < RIDE_RATING(8,00)) continue;