1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Fix mistake in fix_duplicated_banners

This commit is contained in:
Ted John
2021-05-11 20:01:25 +01:00
parent 0484435a91
commit 49e8aea598

View File

@@ -270,7 +270,7 @@ void fix_duplicated_banners()
if (bannerIndex == BANNER_INDEX_NULL)
continue;
if (activeBanners.size() < bannerIndex)
if (activeBanners.size() <= bannerIndex)
{
activeBanners.resize(bannerIndex + 1);
}