forked from rosebudai/OpenRCT2-Web
Use (RCT12)ObjectEntryIndex in more places
This commit is contained in:
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++;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user