diff --git a/src/openrct2/rct2/S6Importer.cpp b/src/openrct2/rct2/S6Importer.cpp index 2f1922f144..17823c8b9b 100644 --- a/src/openrct2/rct2/S6Importer.cpp +++ b/src/openrct2/rct2/S6Importer.cpp @@ -830,7 +830,7 @@ public: { // The number of riders might have overflown or underflown. Re-calculate the value. uint16_t numRiders = 0; - for (const rct_sprite sprite : _s6.sprites) + for (const rct_sprite& sprite : _s6.sprites) { if (sprite.generic.sprite_identifier == SPRITE_IDENTIFIER_PEEP) {