From bf580625f8ce84372a557aaff21e473d5bd2145f Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Tue, 13 Mar 2018 11:45:06 +0100 Subject: [PATCH] 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. --- src/openrct2/rct2/S6Importer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openrct2/rct2/S6Importer.cpp b/src/openrct2/rct2/S6Importer.cpp index 430f608b0f..04a21e7590 100644 --- a/src/openrct2/rct2/S6Importer.cpp +++ b/src/openrct2/rct2/S6Importer.cpp @@ -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++; }