Close #12429: Refactor OBJECT_ERROR to use strong enum and typo fix in build.sh (#13145)

* Close #12429: Refactor OBJECT_ERROR to use strong enum

* Typo Fix in build.sh: Unknown
This commit is contained in:
Julia Pinheiro authored and GitHub committed 2020-10-10 16:21:07 +01:00
1 parent f28907a87d
commit b628bba704
12 files changed
+40 -40

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ void FootpathObject::ReadLegacy(IReadObjectContext* context, OpenRCT2::IStream*
// Validate properties
if (_legacyType.support_type >= RailingEntrySupportType::Count)
{
context->LogError(OBJECT_ERROR_INVALID_PROPERTY, "RailingEntrySupportType not supported.");
context->LogError(ObjectError::InvalidProperty, "RailingEntrySupportType not supported.");
}
}