1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix mistake in #11029 (#11044)

This commit is contained in:
Michael Steenbeek
2020-03-25 21:52:08 +01:00
committed by GitHub
parent 8373fe6f7b
commit 268e81c21b

View File

@@ -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];