Merge pull request #2926 from Wirlie/patch-1

Fixes #2921 'Guests can't stop going to ride if queue is full.'
This commit is contained in:
Duncan 2016-02-13 21:11:59 +00:00
commit 7670d13416
1 changed files with 4 additions and 0 deletions

View File

@ -9615,6 +9615,10 @@ static void peep_tried_to_enter_full_queue(rct_peep *peep, int rideIndex)
ride->lifecycle_flags |= RIDE_LIFECYCLE_QUEUE_FULL;
peep->previous_ride = rideIndex;
peep->previous_ride_time_out = 0;
//Change status "Heading to" to "Walking" if queue is full
if (rideIndex == peep->guest_heading_to_ride_id) {
peep_reset_ride_heading(peep);
}
}
static bool peep_should_go_to_shop(rct_peep *peep, int rideIndex, bool peepAtShop)