mirror of https://github.com/OpenRCT2/OpenRCT2.git
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:
parent
3e621d75f6
commit
0da434bb8a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue