diff options
author | Einar Johan Trøan Sømåen | 2013-08-13 19:09:08 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-08-13 19:09:08 +0200 |
commit | 9ea315747e9e8e8089b9ceab97b4b52c90c190fe (patch) | |
tree | 16b24b41550e5f0e3dace1dc26c04b679df14f79 /engines/wintermute/ad/ad_waypoint_group.cpp | |
parent | 693c8ca5cca4c09b049ce9833cec5a76cdbbb0c7 (diff) | |
download | scummvm-rg350-9ea315747e9e8e8089b9ceab97b4b52c90c190fe.tar.gz scummvm-rg350-9ea315747e9e8e8089b9ceab97b4b52c90c190fe.tar.bz2 scummvm-rg350-9ea315747e9e8e8089b9ceab97b4b52c90c190fe.zip |
WINTERMUTE: Be explicit when storing Floats in savegames.
Diffstat (limited to 'engines/wintermute/ad/ad_waypoint_group.cpp')
-rw-r--r-- | engines/wintermute/ad/ad_waypoint_group.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ad/ad_waypoint_group.cpp b/engines/wintermute/ad/ad_waypoint_group.cpp index cb754516b3..cc7982cb9d 100644 --- a/engines/wintermute/ad/ad_waypoint_group.cpp +++ b/engines/wintermute/ad/ad_waypoint_group.cpp @@ -196,7 +196,7 @@ bool AdWaypointGroup::persist(BasePersistenceManager *persistMgr) { persistMgr->transfer(TMEMBER(_active)); persistMgr->transfer(TMEMBER(_editorSelectedPoint)); - persistMgr->transfer(TMEMBER(_lastMimicScale)); + persistMgr->transferFloat(TMEMBER(_lastMimicScale)); persistMgr->transfer(TMEMBER(_lastMimicX)); persistMgr->transfer(TMEMBER(_lastMimicY)); _points.persist(persistMgr); |