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_response.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_response.cpp')
-rw-r--r-- | engines/wintermute/ad/ad_response.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/ad/ad_response.cpp b/engines/wintermute/ad/ad_response.cpp index 8d8f9a15ad..e7b4188de6 100644 --- a/engines/wintermute/ad/ad_response.cpp +++ b/engines/wintermute/ad/ad_response.cpp @@ -135,8 +135,8 @@ bool AdResponse::persist(BasePersistenceManager *persistMgr) { persistMgr->transferPtr(TMEMBER_PTR(_iconHover)); persistMgr->transferPtr(TMEMBER_PTR(_iconPressed)); persistMgr->transferSint32(TMEMBER(_iD)); - persistMgr->transfer(TMEMBER(_text)); - persistMgr->transfer(TMEMBER(_textOrig)); + persistMgr->transferCharPtr(TMEMBER(_text)); + persistMgr->transferCharPtr(TMEMBER(_textOrig)); persistMgr->transferSint32(TMEMBER_INT(_responseType)); persistMgr->transferPtr(TMEMBER_PTR(_font)); |