diff options
author | Travis Howell | 2005-10-22 04:08:48 +0000 |
---|---|---|
committer | Travis Howell | 2005-10-22 04:08:48 +0000 |
commit | 3374e399b59cc77ffe14eba180fd27319ea3dba9 (patch) | |
tree | d147e1bb82f876b6856a8fb6d4977a322e3ffd5e /scumm/saveload.cpp | |
parent | 4079dd03b14c393932699db988062d0c1e5548c5 (diff) | |
download | scummvm-rg350-3374e399b59cc77ffe14eba180fd27319ea3dba9.tar.gz scummvm-rg350-3374e399b59cc77ffe14eba180fd27319ea3dba9.tar.bz2 scummvm-rg350-3374e399b59cc77ffe14eba180fd27319ea3dba9.zip |
Load/Save palette correctly in HE99 games.
Save actor shadows in HE games.
svn-id: r19231
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r-- | scumm/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index 0cfb1650af..2463f20a4b 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -1270,7 +1270,7 @@ void ScummEngine_v90he::saveOrLoad(Serializer *s, uint32 savegameVersion) { void ScummEngine_v99he::saveOrLoad(Serializer *s, uint32 savegameVersion) { ScummEngine_v90he::saveOrLoad(s, savegameVersion); - s->saveLoadArrayOf(_hePalettes, _numPalettes, sizeof(_hePalettes[0]), sleUint8); + s->saveLoadArrayOf(_hePalettes, (_numPalettes + 1) * 1024, sizeof(_hePalettes[0]), sleUint8); } void ScummEngine_v100he::saveOrLoad(Serializer *s, uint32 savegameVersion) { |