diff options
author | Eugene Sandulenko | 2008-05-12 21:03:26 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-05-12 21:03:26 +0000 |
commit | 51352c71c5d72400973827d4db09fdbc56ebcefc (patch) | |
tree | 9f691109452772ea9c7d02ee51c0c2683688df80 /engines/cine | |
parent | f833cf4c610dc84ae7edb091cf1672e7d895412f (diff) | |
download | scummvm-rg350-51352c71c5d72400973827d4db09fdbc56ebcefc.tar.gz scummvm-rg350-51352c71c5d72400973827d4db09fdbc56ebcefc.tar.bz2 scummvm-rg350-51352c71c5d72400973827d4db09fdbc56ebcefc.zip |
Proper fix for savestates. Thanks to next_ghost
svn-id: r32073
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/anim.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp index 8a14f677c3..6edc714da7 100644 --- a/engines/cine/anim.cpp +++ b/engines/cine/anim.cpp @@ -380,8 +380,8 @@ void AnimData::save(Common::OutSaveFile &fHandle) const { fHandle.writeUint16BE(_var1); fHandle.writeUint16BE(_bpp); fHandle.writeUint16BE(_height); - fHandle.writeUint32BE(0); // _data - fHandle.writeUint32BE(0); // _mask + fHandle.writeUint32BE(_data != NULL); // _data + fHandle.writeUint32BE(_mask != NULL); // _mask fHandle.writeUint16BE(_fileIdx); fHandle.writeUint16BE(_frameIdx); fHandle.write(_name, sizeof(_name)); |