aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2008-04-08 18:12:32 +0000
committerEugene Sandulenko2008-04-08 18:12:32 +0000
commite4ddd5d5f1bc52a7fb3d82a6858ad3578f312663 (patch)
tree9e44f0670d517861a1a720956e43b6edacb86154 /engines
parentd037d7e5798f629042b82242c395b03854929ce7 (diff)
downloadscummvm-rg350-e4ddd5d5f1bc52a7fb3d82a6858ad3578f312663.tar.gz
scummvm-rg350-e4ddd5d5f1bc52a7fb3d82a6858ad3578f312663.tar.bz2
scummvm-rg350-e4ddd5d5f1bc52a7fb3d82a6858ad3578f312663.zip
Ignore pointers on save
svn-id: r31453
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/anim.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp
index 71e1b84918..01269d7577 100644
--- a/engines/cine/anim.cpp
+++ b/engines/cine/anim.cpp
@@ -381,10 +381,8 @@ void AnimData::save(Common::OutSaveFile &fHandle) const {
fHandle.writeUint16BE(_var1);
fHandle.writeUint16BE(_bpp);
fHandle.writeUint16BE(_height);
- // Just because I write pointers to a file doesn't mean
- // anyone should actually read those values back!
- fHandle.writeUint32BE((uint32)(long)_data);
- fHandle.writeUint32BE((uint32)(long)_mask);
+ fHandle.writeUint32BE(0); // _data
+ fHandle.writeUint32BE(0); // _mask
fHandle.writeUint16BE(_fileIdx);
fHandle.writeUint16BE(_frameIdx);
fHandle.write(_name, 10);