aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-11 15:34:28 +0000
committerJohannes Schickel2009-08-11 15:34:28 +0000
commit5e10c284e56a9b2e49bcefeef7d8fd4eb574040b (patch)
tree49f24410169bdca6c49fbd99beba84c13495d2be /engines
parent676b367978c3795734c71db386e9b6f390e0bc51 (diff)
downloadscummvm-rg350-5e10c284e56a9b2e49bcefeef7d8fd4eb574040b.tar.gz
scummvm-rg350-5e10c284e56a9b2e49bcefeef7d8fd4eb574040b.tar.bz2
scummvm-rg350-5e10c284e56a9b2e49bcefeef7d8fd4eb574040b.zip
Implement differences in seq_winterScroll1 for Kyrandia 1 Amiga.
svn-id: r43273
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/sequences_lok.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/engines/kyra/sequences_lok.cpp b/engines/kyra/sequences_lok.cpp
index f26791bdf5..4589d13572 100644
--- a/engines/kyra/sequences_lok.cpp
+++ b/engines/kyra/sequences_lok.cpp
@@ -569,10 +569,15 @@ void KyraEngine_LoK::seq_winterScroll1() {
_sprites->_anims[i].play = false;
_animator->sprites()[i].active = 0;
}
- _screen->getPalette(0).copy(palTable2()[0], 0, 20, 228);
- _screen->fadePalette(_screen->getPalette(0), 72);
- _screen->setScreenPalette(_screen->getPalette(0));
- setGameFlag(0xB3);
+
+ if (_flags.platform == Common::kPlatformAmiga) {
+ _screen->copyPalette(0, 11);
+ } else {
+ _screen->getPalette(0).copy(palTable2()[0], 0, 20, 228);
+ _screen->fadePalette(_screen->getPalette(0), 72);
+ _screen->setScreenPalette(_screen->getPalette(0));
+ setGameFlag(0xB3);
+ }
} else {
delayWithTicks(120);
}