From 0da434bb8ae47321763f86e052c0cf487b024084 Mon Sep 17 00:00:00 2001 From: Ted John Date: Fri, 13 Jan 2017 18:23:28 +0000 Subject: [PATCH] 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. --- src/openrct2/peep/peep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/peep/peep.c b/src/openrct2/peep/peep.c index cdbe1a59ce..39b84e68a7 100644 --- a/src/openrct2/peep/peep.c +++ b/src/openrct2/peep/peep.c @@ -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;