aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-04-09 19:12:03 +1000
committerPaul Gilbert2011-04-09 19:12:03 +1000
commitee32440cdee393ca313061ea0c24faec3e473b7e (patch)
tree0aa103cbad9ce1108c074a38b124c422f12326c4 /engines/tsage
parentb912b3662a753e2766bca4fb8a0d666cdebce349 (diff)
downloadscummvm-rg350-ee32440cdee393ca313061ea0c24faec3e473b7e.tar.gz
scummvm-rg350-ee32440cdee393ca313061ea0c24faec3e473b7e.tar.bz2
scummvm-rg350-ee32440cdee393ca313061ea0c24faec3e473b7e.zip
TSAGE: Fix to disable palette rotations when the scene changes
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/scenes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/scenes.cpp b/engines/tsage/scenes.cpp
index 5cd4fb7f4b..665fa46830 100644
--- a/engines/tsage/scenes.cpp
+++ b/engines/tsage/scenes.cpp
@@ -135,7 +135,7 @@ void SceneManager::changeScene(int newSceneNumber) {
// Fade out the scene
ScenePalette scenePalette;
uint32 adjustData = 0;
- scenePalette.clearListeners();
+ _globals->_scenePalette.clearListeners();
scenePalette.getPalette();
for (int percent = 100; percent >= 0; percent -= 5) {