aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-11 15:35:13 +0000
committerJohannes Schickel2009-08-11 15:35:13 +0000
commitbea06dedaf57fcee2cbd063564735f165e013828 (patch)
treeb0e5848a9ee9997d7df5424997aead10c0169a0f
parentdfd461e35d9e322f2da5cbf7ace86eb17e8feb7f (diff)
downloadscummvm-rg350-bea06dedaf57fcee2cbd063564735f165e013828.tar.gz
scummvm-rg350-bea06dedaf57fcee2cbd063564735f165e013828.tar.bz2
scummvm-rg350-bea06dedaf57fcee2cbd063564735f165e013828.zip
Fix bug in Amiga specific bits of o1_fadeSpecialPalette, this should make the cauldron water change color correctly.
svn-id: r43275
-rw-r--r--engines/kyra/script_lok.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/script_lok.cpp b/engines/kyra/script_lok.cpp
index ae32203be6..d2f878a050 100644
--- a/engines/kyra/script_lok.cpp
+++ b/engines/kyra/script_lok.cpp
@@ -236,6 +236,8 @@ int KyraEngine_LoK::o1_fadeSpecialPalette(EMCState *script) {
}
} else {
setupZanthiaPalette(stackPos(0));
+ _screen->getPalette(0).copy(_screen->getPalette(4), 12, 1);
+ _screen->fadePalette(_screen->getPalette(0), 2);
}
} else {
debugC(3, kDebugLevelScriptFuncs, "KyraEngine_LoK::o1_fadeSpecialPalette(%p) (%d, %d, %d, %d)", (const void *)script, stackPos(0), stackPos(1), stackPos(2), stackPos(3));