1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +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

@@ -298,7 +298,7 @@ namespace Editor
for (BannerIndex i = 0; i < MAX_BANNERS; i++)
{
auto banner = GetBanner(i);
if (banner->type == BANNER_NULL)
if (banner->IsNull())
{
banner->flags &= ~BANNER_FLAG_LINKED_TO_RIDE;
}