aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-06-04 22:39:14 +1000
committerPaul Gilbert2011-06-04 22:39:14 +1000
commit9933b1bf195fd21cda7d1540eea1fdc7d4d31121 (patch)
treeeca14c39229ad394dab99a157fee744482c26451 /engines/tsage
parentdc6e60f5164446cfa6cfcdcea864cb2074671012 (diff)
downloadscummvm-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.cpp2
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);