aboutsummaryrefslogtreecommitdiff
path: root/scumm/saveload.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-05-23 09:30:43 +0000
committerTravis Howell2005-05-23 09:30:43 +0000
commit28e156df838341c2bb03e41f9ba22c51988358e9 (patch)
tree16560bc8a3f30ee75767ca48f83b031507cda405 /scumm/saveload.cpp
parent37d4e9499dd66963f3770c423dd50e655023beea (diff)
downloadscummvm-rg350-28e156df838341c2bb03e41f9ba22c51988358e9.tar.gz
scummvm-rg350-28e156df838341c2bb03e41f9ba22c51988358e9.tar.bz2
scummvm-rg350-28e156df838341c2bb03e41f9ba22c51988358e9.zip
Add Sprite class and move over related functions.
svn-id: r18230
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r--scumm/saveload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index a5064607f1..d276c8257a 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -1077,14 +1077,14 @@ void ScummEngine_v90he::saveOrLoad(Serializer *s, uint32 savegameVersion) {
MKLINE(ScummEngine_v90he, _curMaxSpriteId, sleInt32, VER(51)),
MKLINE(ScummEngine_v90he, _curSpriteId, sleInt32, VER(51)),
MKLINE(ScummEngine_v90he, _curSpriteGroupId, sleInt32, VER(51)),
- MKLINE(ScummEngine_v90he, _numSpritesToProcess, sleInt32, VER(51)),
+ MKLINE(ScummEngine_v90he, _sprite->_numSpritesToProcess, sleInt32, VER(51)),
MKLINE(ScummEngine_v90he, _heObject, sleInt32, VER(51)),
MKLINE(ScummEngine_v90he, _heObjectNum, sleInt32, VER(51)),
MKLINE(ScummEngine_v90he, _hePaletteNum, sleInt32, VER(51)),
MKEND()
};
- saveOrLoadSpriteData(&*s, savegameVersion);
+ _sprite->saveOrLoadSpriteData(&*s, savegameVersion);
s->saveLoadArrayOf(&_floodStateParams, 1, sizeof(_floodStateParams), floodStateEntries);
s->saveLoadEntries(this, HE90Entries);