From 14cba5a3e4a16634bb38bb2c2db62d322cd57b74 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 21 Jan 2006 18:43:17 +0000 Subject: Fixes bug # 1411432 (KYRA: graphics glitch when using the ice scroll) svn-id: r20124 --- kyra/kyra.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kyra') diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp index 637e8978b6..b4ca87c197 100644 --- a/kyra/kyra.cpp +++ b/kyra/kyra.cpp @@ -1287,6 +1287,7 @@ void KyraEngine::seq_winterScroll1() { _animator->sprites()[0].active = 0; _sprites->_anims[1].play = true; _animator->sprites()[1].active = 1; + setGameFlag(0xA2); } for (int i = 147; i <= 157; ++i) { @@ -1304,6 +1305,9 @@ void KyraEngine::seq_winterScroll1() { memcpy(tmpPal, _screen->_currentPalette, 768); memcpy(&tmpPal[684], palTable2()[0], 60); _screen->fadePalette(tmpPal, 72); + memcpy(&_screen->_currentPalette[684], palTable2()[0], 60); + _screen->setScreenPalette(_screen->_currentPalette); + setGameFlag(0xB3); } else { delayWithTicks(120); } -- cgit v1.2.3