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/base/scriptables/script_ext_string.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/base/scriptables/script_ext_string.cpp')
-rw-r--r-- | engines/wintermute/base/scriptables/script_ext_string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/scriptables/script_ext_string.cpp b/engines/wintermute/base/scriptables/script_ext_string.cpp index 2f2422cdf9..b6d284442d 100644 --- a/engines/wintermute/base/scriptables/script_ext_string.cpp +++ b/engines/wintermute/base/scriptables/script_ext_string.cpp @@ -406,7 +406,7 @@ bool SXString::persist(BasePersistenceManager *persistMgr) { BaseScriptable::persist(persistMgr); - persistMgr->transfer(TMEMBER(_capacity)); + persistMgr->transferSint32(TMEMBER(_capacity)); if (persistMgr->getIsSaving()) { if (_capacity > 0) { |