mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove max queue length limit
This commit is contained in:
parent
b66d15659f
commit
7db9aeb709
|
@ -1947,12 +1947,6 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
|
||||||
if (peepAtRide)
|
if (peepAtRide)
|
||||||
{
|
{
|
||||||
auto& station = ride->GetStation(entranceNum);
|
auto& station = ride->GetStation(entranceNum);
|
||||||
// Peeps won't join a queue that has 1000 peeps already in it.
|
|
||||||
if (station.QueueLength >= MAX_RIDE_QUEUE_LENGTH)
|
|
||||||
{
|
|
||||||
peep_tried_to_enter_full_queue(this, ride);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Rides without queues can only have one peep waiting at a time.
|
// Rides without queues can only have one peep waiting at a time.
|
||||||
if (!atQueue)
|
if (!atQueue)
|
||||||
|
|
|
@ -879,8 +879,6 @@ enum
|
||||||
constexpr uint32_t CONSTRUCTION_LIFT_HILL_SELECTED = 1 << 0;
|
constexpr uint32_t CONSTRUCTION_LIFT_HILL_SELECTED = 1 << 0;
|
||||||
constexpr uint32_t CONSTRUCTION_INVERTED_TRACK_SELECTED = 1 << 1;
|
constexpr uint32_t CONSTRUCTION_INVERTED_TRACK_SELECTED = 1 << 1;
|
||||||
|
|
||||||
constexpr uint16_t MAX_RIDE_QUEUE_LENGTH = 1000;
|
|
||||||
|
|
||||||
Ride* get_ride(RideId index);
|
Ride* get_ride(RideId index);
|
||||||
|
|
||||||
struct RideManager
|
struct RideManager
|
||||||
|
|
Loading…
Reference in New Issue