mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 13:03:11 +01:00
Rename members of ObjectError
This commit is contained in:
@@ -246,11 +246,11 @@ namespace OpenRCT2::ObjectFactory
|
||||
catch (const IOException&)
|
||||
{
|
||||
// TODO check that ex is really EOF and not some other error
|
||||
context->LogError(ObjectError::UnexpectedEOF, "Unexpectedly reached end of file.");
|
||||
context->LogError(ObjectError::unexpectedEOF, "Unexpectedly reached end of file.");
|
||||
}
|
||||
catch (const std::exception&)
|
||||
{
|
||||
context->LogError(ObjectError::Unknown, nullptr);
|
||||
context->LogError(ObjectError::unknown, nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user