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:
committed by
Michał Janiszewski
parent
fe140c5c20
commit
68c819c01f
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user