diff options
author | aap <aap@papnet.eu> | 2020-08-30 00:57:00 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-08-30 00:57:00 +0200 |
commit | e0f6459674b8498e0b4aa997701d058535e608cb (patch) | |
tree | 62f29bf1ffe8b9cfa3191f5c1841b2ef6fc75387 /src/core | |
parent | update librw (diff) | |
download | re3-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 'src/core')
-rw-r--r-- | src/core/Zones.cpp | 6 |
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++) |