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_waypoint_group.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_waypoint_group.cpp')
-rw-r--r-- | engines/wintermute/ad/ad_waypoint_group.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/ad/ad_waypoint_group.cpp b/engines/wintermute/ad/ad_waypoint_group.cpp index a8d474bf35..ae6b18e266 100644 --- a/engines/wintermute/ad/ad_waypoint_group.cpp +++ b/engines/wintermute/ad/ad_waypoint_group.cpp @@ -195,10 +195,10 @@ bool AdWaypointGroup::persist(BasePersistenceManager *persistMgr) { BaseObject::persist(persistMgr); persistMgr->transferBool(TMEMBER(_active)); - persistMgr->transfer(TMEMBER(_editorSelectedPoint)); + persistMgr->transferSint32(TMEMBER(_editorSelectedPoint)); persistMgr->transferFloat(TMEMBER(_lastMimicScale)); - persistMgr->transfer(TMEMBER(_lastMimicX)); - persistMgr->transfer(TMEMBER(_lastMimicY)); + persistMgr->transferSint32(TMEMBER(_lastMimicX)); + persistMgr->transferSint32(TMEMBER(_lastMimicY)); _points.persist(persistMgr); return STATUS_OK; |