1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

add function and line info to guards

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

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) {