diff options
author | Einar Johan Trøan Sømåen | 2013-11-05 13:48:11 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-11-05 13:48:11 +0100 |
commit | d07409def7cf63296a11f0cdea3bf5b7e1c3427a (patch) | |
tree | b78e3e6532d34ca7be65d489fea09fcc96583d72 /engines/wintermute/ad/ad_object.cpp | |
parent | 7892188bcf45ec7eaeee9eed1c92b84839c1224b (diff) | |
download | scummvm-rg350-d07409def7cf63296a11f0cdea3bf5b7e1c3427a.tar.gz scummvm-rg350-d07409def7cf63296a11f0cdea3bf5b7e1c3427a.tar.bz2 scummvm-rg350-d07409def7cf63296a11f0cdea3bf5b7e1c3427a.zip |
WINTERMUTE: Transfer Sint32s explicitly when saving/loading.
Diffstat (limited to 'engines/wintermute/ad/ad_object.cpp')
-rw-r--r-- | engines/wintermute/ad/ad_object.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/wintermute/ad/ad_object.cpp b/engines/wintermute/ad/ad_object.cpp index 6ab2e9bc75..fbeacee053 100644 --- a/engines/wintermute/ad/ad_object.cpp +++ b/engines/wintermute/ad/ad_object.cpp @@ -1038,22 +1038,22 @@ bool AdObject::persist(BasePersistenceManager *persistMgr) { persistMgr->transferBool(TMEMBER(_drawn)); persistMgr->transferPtr(TMEMBER_PTR(_font)); persistMgr->transferBool(TMEMBER(_ignoreItems)); - persistMgr->transfer(TMEMBER_INT(_nextState)); + persistMgr->transferSint32(TMEMBER_INT(_nextState)); persistMgr->transferPtr(TMEMBER_PTR(_sentence)); - persistMgr->transfer(TMEMBER_INT(_state)); + persistMgr->transferSint32(TMEMBER_INT(_state)); persistMgr->transferPtr(TMEMBER_PTR(_animSprite)); persistMgr->transferBool(TMEMBER(_sceneIndependent)); persistMgr->transfer(TMEMBER(_forcedTalkAnimName)); persistMgr->transferBool(TMEMBER(_forcedTalkAnimUsed)); persistMgr->transferPtr(TMEMBER_PTR(_tempSprite2)); - persistMgr->transfer(TMEMBER_INT(_type)); + persistMgr->transferSint32(TMEMBER_INT(_type)); persistMgr->transferPtr(TMEMBER_PTR(_wptGroup)); persistMgr->transferPtr(TMEMBER_PTR(_stickRegion)); persistMgr->transferBool(TMEMBER(_subtitlesModRelative)); - persistMgr->transfer(TMEMBER(_subtitlesModX)); - persistMgr->transfer(TMEMBER(_subtitlesModY)); + persistMgr->transferSint32(TMEMBER(_subtitlesModX)); + persistMgr->transferSint32(TMEMBER(_subtitlesModY)); persistMgr->transferBool(TMEMBER(_subtitlesModXCenter)); - persistMgr->transfer(TMEMBER(_subtitlesWidth)); + persistMgr->transferSint32(TMEMBER(_subtitlesWidth)); persistMgr->transferPtr(TMEMBER_PTR(_inventory)); persistMgr->transferPtr(TMEMBER_PTR(_partEmitter)); @@ -1066,8 +1066,8 @@ bool AdObject::persist(BasePersistenceManager *persistMgr) { persistMgr->transferPtr(TMEMBER_PTR(_registerAlias)); persistMgr->transferBool(TMEMBER(_partFollowParent)); - persistMgr->transfer(TMEMBER(_partOffsetX)); - persistMgr->transfer(TMEMBER(_partOffsetY)); + persistMgr->transferSint32(TMEMBER(_partOffsetX)); + persistMgr->transferSint32(TMEMBER(_partOffsetY)); return STATUS_OK; } |