aboutsummaryrefslogtreecommitdiff
path: root/scumm/saveload.cpp
diff options
context:
space:
mode:
authorGregory Montoir2004-11-27 17:50:23 +0000
committerGregory Montoir2004-11-27 17:50:23 +0000
commit5e351b0c312a921f9e2e8090462afec5cce7dbb1 (patch)
treea296ddd9e2256768d6d36d4d793a2befd78dd751 /scumm/saveload.cpp
parentb92b8e8d6aa4108663e309cef08e5bbae609f734 (diff)
downloadscummvm-rg350-5e351b0c312a921f9e2e8090462afec5cce7dbb1.tar.gz
scummvm-rg350-5e351b0c312a921f9e2e8090462afec5cce7dbb1.tar.bz2
scummvm-rg350-5e351b0c312a921f9e2e8090462afec5cce7dbb1.zip
moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r--scumm/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
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