diff options
author | Einar Johan Trøan Sømåen | 2013-11-05 13:54:25 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-11-05 13:54:25 +0100 |
commit | 237d3d86ecd84fc2084c7739a6ff054e3b0c829b (patch) | |
tree | fc5151bfaa1d9ceca42e0fc73e69fed845fba85b /engines/wintermute/ad/ad_node_state.cpp | |
parent | d07409def7cf63296a11f0cdea3bf5b7e1c3427a (diff) | |
download | scummvm-rg350-237d3d86ecd84fc2084c7739a6ff054e3b0c829b.tar.gz scummvm-rg350-237d3d86ecd84fc2084c7739a6ff054e3b0c829b.tar.bz2 scummvm-rg350-237d3d86ecd84fc2084c7739a6ff054e3b0c829b.zip |
WINTERMUTE: Transfer Char* explicitly when saving/loading.
Diffstat (limited to 'engines/wintermute/ad/ad_node_state.cpp')
-rw-r--r-- | engines/wintermute/ad/ad_node_state.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/ad/ad_node_state.cpp b/engines/wintermute/ad/ad_node_state.cpp index 8793c40d6b..dd07f23762 100644 --- a/engines/wintermute/ad/ad_node_state.cpp +++ b/engines/wintermute/ad/ad_node_state.cpp @@ -96,12 +96,12 @@ bool AdNodeState::persist(BasePersistenceManager *persistMgr) { persistMgr->transferPtr(TMEMBER_PTR(_gameRef)); persistMgr->transferBool(TMEMBER(_active)); - persistMgr->transfer(TMEMBER(_name)); - persistMgr->transfer(TMEMBER(_filename)); - persistMgr->transfer(TMEMBER(_cursor)); + persistMgr->transferCharPtr(TMEMBER(_name)); + persistMgr->transferCharPtr(TMEMBER(_filename)); + persistMgr->transferCharPtr(TMEMBER(_cursor)); persistMgr->transferUint32(TMEMBER(_alphaColor)); for (int i = 0; i < 7; i++) { - persistMgr->transfer(TMEMBER(_caption[i])); + persistMgr->transferCharPtr(TMEMBER(_caption[i])); } return STATUS_OK; |