Refactor more constants to kConstant notation

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2025-01-22 16:16:55 +00:00
1 parent b9486b9eb7
commit b0c99fcb6c
254 files changed
+1244 -1249

No files matched your search

+2 -2
View File
@@ -29,7 +29,7 @@ void PathAdditionObject::ReadLegacy(IReadObjectContext* context, OpenRCT2::IStre
_legacyType.draw_type = static_cast<PathAdditionDrawType>(stream->ReadValue<uint8_t>());
_legacyType.tool_id = static_cast<CursorID>(stream->ReadValue<uint8_t>());
_legacyType.price = stream->ReadValue<money16>();
_legacyType.scenery_tab_id = OBJECT_ENTRY_INDEX_NULL;
_legacyType.scenery_tab_id = kObjectEntryIndexNull;
stream->Seek(2, OpenRCT2::STREAM_SEEK_CURRENT);
GetStringTable().Read(context, stream, ObjectStringID::NAME);
@@ -68,7 +68,7 @@ void PathAdditionObject::Load()
_legacyType.name = LanguageAllocateObjectString(GetName());
_legacyType.image = LoadImages();
_legacyType.scenery_tab_id = OBJECT_ENTRY_INDEX_NULL;
_legacyType.scenery_tab_id = kObjectEntryIndexNull;
}
void PathAdditionObject::Unload()