From e0f6459674b8498e0b4aa997701d058535e608cb Mon Sep 17 00:00:00 2001 From: aap Date: Sun, 30 Aug 2020 00:57:00 +0200 Subject: stupid zone load fix --- src/core/Zones.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/Zones.cpp') 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++) -- cgit v1.2.3