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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user