From 5e351b0c312a921f9e2e8090462afec5cce7dbb1 Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Sat, 27 Nov 2004 17:50:23 +0000 Subject: moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications svn-id: r15921 --- scumm/saveload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/saveload.cpp') diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index 4c495f28d5..95d4c548a4 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -727,7 +727,7 @@ void ScummEngine::saveOrLoad(Serializer *s, uint32 savegameVersion) { s->saveLoadArrayOf(vm.slot, NUM_SCRIPT_SLOT, sizeof(vm.slot[0]), scriptSlotEntries); if (_heversion >= 71) - s->saveLoadArrayOf(_wizPolygons, _wizNumPolygons, sizeof(_wizPolygons[0]), polygonEntries); + s->saveLoadArrayOf(_wiz._polygons, ARRAYSIZE(_wiz._polygons), sizeof(_wiz._polygons[0]), polygonEntries); s->saveLoadArrayOf(_objs, _numLocalObjects, sizeof(_objs[0]), objectEntries); if (s->isLoading() && savegameVersion < VER(13)) { // Since roughly v13 of the save games, the objs storage has changed a bit -- cgit v1.2.3