aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.cpp
diff options
context:
space:
mode:
authorMax Horn2009-09-14 22:34:53 +0000
committerMax Horn2009-09-14 22:34:53 +0000
commitbfe153871511d51798d22a18ac090a724e6bd102 (patch)
treefb532f165bbd39fd64e1ab3b47b4e6b1babc7958 /engines/sci/engine/savegame.cpp
parent8a29adab6fc432d3f265fc692dd9f2c52848c625 (diff)
downloadscummvm-rg350-bfe153871511d51798d22a18ac090a724e6bd102.tar.gz
scummvm-rg350-bfe153871511d51798d22a18ac090a724e6bd102.tar.bz2
scummvm-rg350-bfe153871511d51798d22a18ac090a724e6bd102.zip
SCI: Misc cleanup
svn-id: r44093
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r--engines/sci/engine/savegame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 139cc1c4f7..ade012226b 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -420,7 +420,7 @@ void SystemStrings::saveLoadWithSerializer(Common::Serializer &s) {
void DynMem::saveLoadWithSerializer(Common::Serializer &s) {
s.syncAsSint32LE(_size);
- syncCStr(s, &_description);
+ s.syncString(_description);
if (!_buf && _size) {
_buf = (byte *)calloc(_size, 1);
}