1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Use (RCT12)ObjectEntryIndex in more places

This commit is contained in:
Gymnasiast
2020-04-27 15:01:37 +02:00
parent 9b2dba62d8
commit cc65564521
26 changed files with 99 additions and 107 deletions

View File

@@ -1251,7 +1251,7 @@ static int32_t cc_show_limits(InteractiveConsole& console, [[maybe_unused]] cons
for (BannerIndex i = 0; i < MAX_BANNERS; ++i)
{
auto banner = GetBanner(i);
if (banner->type != BANNER_NULL)
if (!banner->IsNull())
{
bannerCount++;
}