Use (RCT12)ObjectEntryIndex in more places

This commit is contained in:
Gymnasiast committed 2020-05-01 22:06:13 +02:00
1 parent 9b2dba62d8
commit cc65564521
26 files changed
+99 -107

No files matched your search

@@ -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++;
}