forked from rosebudai/OpenRCT2-Web
add function and line info to guards
This commit is contained in:
1 parent
d25baf7bd3
commit
5f41e3a0eb
8 files changed
+18
-18
No files matched your search
@@ -166,8 +166,8 @@ namespace ObjectFactory
|
||||
|
||||
Object * CreateObjectFromLegacyData(const rct_object_entry * entry, const void * data, size_t dataSize)
|
||||
{
|
||||
Guard::ArgumentNotNull(entry);
|
||||
Guard::ArgumentNotNull(data);
|
||||
Guard::ArgumentNotNull(entry, GUARD_LINE);
|
||||
Guard::ArgumentNotNull(data, GUARD_LINE);
|
||||
|
||||
Object * result = CreateObject(*entry);
|
||||
if (result != nullptr)
|
||||
|
||||
Reference in new issue
Block a user