diff options
author | Paul Gilbert | 2011-06-04 22:39:14 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-06-04 22:39:14 +1000 |
commit | 9933b1bf195fd21cda7d1540eea1fdc7d4d31121 (patch) | |
tree | eca14c39229ad394dab99a157fee744482c26451 /engines/tsage | |
parent | dc6e60f5164446cfa6cfcdcea864cb2074671012 (diff) | |
download | scummvm-rg350-9933b1bf195fd21cda7d1540eea1fdc7d4d31121.tar.gz scummvm-rg350-9933b1bf195fd21cda7d1540eea1fdc7d4d31121.tar.bz2 scummvm-rg350-9933b1bf195fd21cda7d1540eea1fdc7d4d31121.zip |
TSAGE: Bugfix for saving in scenes with palette rotations
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/core.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index 5ed1ce316c..b929beec23 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -1353,6 +1353,8 @@ void ScenePalette::changeBackground(const Rect &bounds, FadeMode fadeMode) { void ScenePalette::synchronize(Serializer &s) { if (s.getVersion() >= 2) SavedObject::synchronize(s); + if (s.getVersion() >= 5) + _listeners.synchronize(s); s.syncBytes(_palette, 256 * 3); s.syncAsSint32LE(_colors.foreground); |