diff options
author | Travis Howell | 2005-05-23 09:30:43 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-23 09:30:43 +0000 |
commit | 28e156df838341c2bb03e41f9ba22c51988358e9 (patch) | |
tree | 16560bc8a3f30ee75767ca48f83b031507cda405 /scumm/saveload.cpp | |
parent | 37d4e9499dd66963f3770c423dd50e655023beea (diff) | |
download | scummvm-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.cpp | 4 |
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); |