summaryrefslogtreecommitdiffstats
path: root/src/core/Zones.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-30 00:57:00 +0200
committeraap <aap@papnet.eu>2020-08-30 00:57:00 +0200
commite0f6459674b8498e0b4aa997701d058535e608cb (patch)
tree62f29bf1ffe8b9cfa3191f5c1841b2ef6fc75387 /src/core/Zones.cpp
parentupdate librw (diff)
downloadre3-e0f6459674b8498e0b4aa997701d058535e608cb.tar
re3-e0f6459674b8498e0b4aa997701d058535e608cb.tar.gz
re3-e0f6459674b8498e0b4aa997701d058535e608cb.tar.bz2
re3-e0f6459674b8498e0b4aa997701d058535e608cb.tar.lz
re3-e0f6459674b8498e0b4aa997701d058535e608cb.tar.xz
re3-e0f6459674b8498e0b4aa997701d058535e608cb.tar.zst
re3-e0f6459674b8498e0b4aa997701d058535e608cb.zip
Diffstat (limited to '')
-rw-r--r--src/core/Zones.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/Zones.cpp b/src/core/Zones.cpp
index a255fb7d..1eb1513e 100644
--- a/src/core/Zones.cpp
+++ b/src/core/Zones.cpp
@@ -730,9 +730,9 @@ CTheZones::LoadAllZones(uint8 *buffer, uint32 size)
InfoZoneArray[i].child = GetPointerForZoneIndex((uintptr)InfoZoneArray[i].child);
InfoZoneArray[i].parent = GetPointerForZoneIndex((uintptr)InfoZoneArray[i].parent);
InfoZoneArray[i].next = GetPointerForZoneIndex((uintptr)InfoZoneArray[i].next);
- InfoZoneArray[i].child = GetPointerForZoneIndex((uintptr)InfoZoneArray[i].child);
- InfoZoneArray[i].parent = GetPointerForZoneIndex((uintptr)InfoZoneArray[i].parent);
- InfoZoneArray[i].next = GetPointerForZoneIndex((uintptr)InfoZoneArray[i].next);
+ assert(InfoZoneArray[i].child == nil);
+ assert(InfoZoneArray[i].parent == nil);
+ assert(InfoZoneArray[i].next == nil);
}
for(i = 0; i < ARRAY_SIZE(ZoneInfoArray); i++)