From 9933b1bf195fd21cda7d1540eea1fdc7d4d31121 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 4 Jun 2011 22:39:14 +1000 Subject: TSAGE: Bugfix for saving in scenes with palette rotations --- engines/tsage/core.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3