mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 11:33:03 +01:00
add function and line info to guards
This commit is contained in:
@@ -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