aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene_data.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-10-13 09:03:50 -0400
committerPaul Gilbert2014-10-13 09:03:50 -0400
commitfc2a579f2e44879217b9d16d264eaafeea680de4 (patch)
tree40ba0abd4bf8db964bb051c58adb83d6a023bccd /engines/mads/scene_data.cpp
parentbf7eef466db5dd30693a76352d7f83447300bca7 (diff)
downloadscummvm-rg350-fc2a579f2e44879217b9d16d264eaafeea680de4.tar.gz
scummvm-rg350-fc2a579f2e44879217b9d16d264eaafeea680de4.tar.bz2
scummvm-rg350-fc2a579f2e44879217b9d16d264eaafeea680de4.zip
MADS: Further fixes for palette cycling during animations
Diffstat (limited to 'engines/mads/scene_data.cpp')
-rw-r--r--engines/mads/scene_data.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mads/scene_data.cpp b/engines/mads/scene_data.cpp
index 2101a85bd0..b0a5aa35c6 100644
--- a/engines/mads/scene_data.cpp
+++ b/engines/mads/scene_data.cpp
@@ -299,6 +299,7 @@ void SceneInfo::loadPalette(int sceneId, int artFileNum, const Common::String &r
delete stream;
// Copy out the palette animation data
+ _paletteCycles.clear();
for (uint i = 0; i < artHeader._paletteCycles.size(); ++i)
_paletteCycles.push_back(artHeader._paletteCycles[i]);