add function and line info to guards

This commit is contained in:
Ted John committed 2016-07-16 14:17:36 +01:00
1 parent d25baf7bd3
commit 5f41e3a0eb
8 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ void SceneryGroupObject::UpdateEntryIndexes()
if (ori->LoadedObject == nullptr) continue;
uint16 sceneryEntry = objectManager->GetLoadedObjectEntryIndex(ori->LoadedObject);
Guard::Assert(sceneryEntry != UINT8_MAX);
Guard::Assert(sceneryEntry != UINT8_MAX, GUARD_LINE);
uint8 objectType = objectEntry->flags & 0x0F;
switch (objectType) {