mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Fix calcutation of number of riders on import
Made a little mistake with this last time. This will now use the same logic as the Guest List window and the increment/decrement counters.
This commit is contained in:
@@ -828,7 +828,8 @@ public:
|
||||
{
|
||||
if (sprite.unknown.sprite_identifier == SPRITE_IDENTIFIER_PEEP)
|
||||
{
|
||||
if (sprite.peep.state == PEEP_STATE_ON_RIDE && sprite.peep.current_ride == rideIndex)
|
||||
if (sprite.peep.current_ride == rideIndex &&
|
||||
(sprite.peep.state == PEEP_STATE_ON_RIDE || sprite.peep.state == PEEP_STATE_ENTERING_RIDE))
|
||||
{
|
||||
numRiders++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user