Fix mistake in #11029 (#11044)

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2020-03-25 20:52:08 +00:00
1 parent 8373fe6f7b
commit 268e81c21b
1 file changed
+2 -2
+2 -2
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];