aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2009-10-13 20:50:59 +0000
committerMax Horn2009-10-13 20:50:59 +0000
commit2ae08e8478af697fc7b8a49eeaf2879d87a67c2e (patch)
tree16197b19040300df11368211f2b6d035a2e82b1a /engines
parentb49d6d950b1bca350baea7a9437071cf5823af5f (diff)
downloadscummvm-rg350-2ae08e8478af697fc7b8a49eeaf2879d87a67c2e.tar.gz
scummvm-rg350-2ae08e8478af697fc7b8a49eeaf2879d87a67c2e.tar.bz2
scummvm-rg350-2ae08e8478af697fc7b8a49eeaf2879d87a67c2e.zip
SCI: Don't save HunkTable segments
svn-id: r45048
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/savegame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 4cd0f054d4..9d663fc1cf 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -221,8 +221,8 @@ void SegManager::saveLoadWithSerializer(Common::Serializer &s) {
s.skip(4, VER(9), VER(9)); // OBSOLETE: Used to be _segManagerId
- // Don't load HunkTable segments
- if (s.isLoading() && type == SEG_TYPE_HUNK) {
+ // Don't save or load HunkTable segments
+ if (type == SEG_TYPE_HUNK) {
continue;
}