aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_sprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/base/base_sprite.cpp')
-rw-r--r--engines/wintermute/base/base_sprite.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/wintermute/base/base_sprite.cpp b/engines/wintermute/base/base_sprite.cpp
index afc33121ef..c8e0d8714a 100644
--- a/engines/wintermute/base/base_sprite.cpp
+++ b/engines/wintermute/base/base_sprite.cpp
@@ -524,12 +524,12 @@ bool BaseSprite::persist(BasePersistenceManager *persistMgr) {
persistMgr->transferBool(TMEMBER(_changed));
persistMgr->transferBool(TMEMBER(_paused));
persistMgr->transferBool(TMEMBER(_continuous));
- persistMgr->transfer(TMEMBER(_currentFrame));
+ persistMgr->transferSint32(TMEMBER(_currentFrame));
persistMgr->transferBool(TMEMBER(_editorAllFrames));
- persistMgr->transfer(TMEMBER(_editorBgAlpha));
+ persistMgr->transferSint32(TMEMBER(_editorBgAlpha));
persistMgr->transfer(TMEMBER(_editorBgFile));
- persistMgr->transfer(TMEMBER(_editorBgOffsetX));
- persistMgr->transfer(TMEMBER(_editorBgOffsetY));
+ persistMgr->transferSint32(TMEMBER(_editorBgOffsetX));
+ persistMgr->transferSint32(TMEMBER(_editorBgOffsetY));
persistMgr->transferBool(TMEMBER(_editorMuted));
persistMgr->transferBool(TMEMBER(_finished));
@@ -537,8 +537,8 @@ bool BaseSprite::persist(BasePersistenceManager *persistMgr) {
persistMgr->transferUint32(TMEMBER(_lastFrameTime));
persistMgr->transferBool(TMEMBER(_looping));
- persistMgr->transfer(TMEMBER(_moveX));
- persistMgr->transfer(TMEMBER(_moveY));
+ persistMgr->transferSint32(TMEMBER(_moveX));
+ persistMgr->transferSint32(TMEMBER(_moveY));
persistMgr->transferPtr(TMEMBER_PTR(_owner));
persistMgr->transferBool(TMEMBER(_precise));
persistMgr->transferBool(TMEMBER(_streamed));