1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Fixes #2921 'Guests can't stop going to ride if queue is full.'
This commit is contained in:
Josue Acevedo
2016-02-13 14:18:00 -06:00
parent 45a5af5610
commit f1e4cfd34b

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)