forked from rosebudai/OpenRCT2-Web
Fix #3934: Crash upon loading scenario
This commit is contained in:
1 parent
63cec64a4a
commit
b3b2f1d1a7
3 files changed
+10
-5
No files matched your search
@@ -413,7 +413,7 @@ private:
|
||||
{
|
||||
const rct_object_entry * entry = &entries[i];
|
||||
const ObjectRepositoryItem * ori = nullptr;
|
||||
if (check_object_entry(entry))
|
||||
if (!object_entry_is_empty(entry))
|
||||
{
|
||||
ori = _objectRepository->FindObject(entry);
|
||||
if (ori == nullptr)
|
||||
|
||||
Reference in new issue
Block a user