1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Log to console when invalid objects found during check

This commit is contained in:
rwjuk
2017-07-05 00:33:39 +01:00
committed by Michał Janiszewski
parent fe140c5c20
commit 68c819c01f
2 changed files with 4 additions and 0 deletions

View File

@@ -461,6 +461,7 @@ private:
if (ori == nullptr)
{
invalidEntries.push_back(*entry);
ReportMissingObject(entry);
}
else
{
@@ -472,6 +473,7 @@ private:
if (loadedObject == nullptr)
{
invalidEntries.push_back(*entry);
ReportObjectLoadProblem(entry);
}
delete loadedObject;
}