1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Refactor more constants to kConstant notation

This commit is contained in:
Michael Steenbeek
2025-01-22 17:16:55 +01:00
committed by GitHub
parent b9486b9eb7
commit b0c99fcb6c
254 changed files with 1244 additions and 1249 deletions

View File

@@ -180,7 +180,7 @@ ObjectEntryIndex ObjectList::Find(ObjectType type, std::string_view identifier)
return static_cast<ObjectEntryIndex>(i);
}
}
return OBJECT_ENTRY_INDEX_NULL;
return kObjectEntryIndexNull;
}
// Intended to be used to find non-custom legacy objects. For internal use only.
@@ -195,7 +195,7 @@ ObjectEntryIndex ObjectList::FindLegacy(ObjectType type, std::string_view identi
return static_cast<ObjectEntryIndex>(i);
}
}
return OBJECT_ENTRY_INDEX_NULL;
return kObjectEntryIndexNull;
}
/**