aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/script_v2.cpp')
-rw-r--r--engines/kyra/script_v2.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/script_v2.cpp b/engines/kyra/script_v2.cpp
index 2bb33b333c..c2c0be003c 100644
--- a/engines/kyra/script_v2.cpp
+++ b/engines/kyra/script_v2.cpp
@@ -846,7 +846,9 @@ int KyraEngine_v2::o2_mushroomEffect(ScriptState *script) {
}
snd_playSoundEffect(106);
_screen->fadePalette(_screen->_currentPalette, 90, &_updateFunctor);
- _screen->fadePalette(_screen->getPalette(1), 30, &_updateFunctor);
+
+ memcpy(_screen->_currentPalette, _screen->getPalette(1), 768);
+ _screen->fadePalette(_screen->_currentPalette, 30, &_updateFunctor);
return 0;
}