From 268e81c21baab50959ca4e00e7af4bd7679c7ee5 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Wed, 25 Mar 2020 21:52:08 +0100 Subject: [PATCH] Fix mistake in #11029 (#11044) --- src/openrct2/rct2/S6Importer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/rct2/S6Importer.cpp b/src/openrct2/rct2/S6Importer.cpp index 1ee6d33c59..b3d6cf77c6 100644 --- a/src/openrct2/rct2/S6Importer.cpp +++ b/src/openrct2/rct2/S6Importer.cpp @@ -1174,7 +1174,7 @@ public: auto entry = dst2->GetEntry(); if (entry != nullptr && entry->wall.scrolling_mode != SCROLLING_MODE_NONE) { - auto bannerIndex = dst2->GetBannerIndex(); + auto bannerIndex = src2->GetBannerIndex(); if (bannerIndex < std::size(_s6.banners)) { auto srcBanner = &_s6.banners[bannerIndex]; @@ -1200,7 +1200,7 @@ public: auto entry = dst2->GetEntry(); if (entry != nullptr && entry->large_scenery.scrolling_mode != SCROLLING_MODE_NONE) { - auto bannerIndex = dst2->GetBannerIndex(); + auto bannerIndex = src2->GetBannerIndex(); if (bannerIndex < std::size(_s6.banners)) { auto srcBanner = &_s6.banners[bannerIndex];