diff options
author | Johannes Schickel | 2006-01-21 18:43:17 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-01-21 18:43:17 +0000 |
commit | 14cba5a3e4a16634bb38bb2c2db62d322cd57b74 (patch) | |
tree | 9b170f531c21996d50fecbf026fbcd3479a05527 /kyra | |
parent | 4a8c720252cb03e974f32dca5e1ee6d6ebab1353 (diff) | |
download | scummvm-rg350-14cba5a3e4a16634bb38bb2c2db62d322cd57b74.tar.gz scummvm-rg350-14cba5a3e4a16634bb38bb2c2db62d322cd57b74.tar.bz2 scummvm-rg350-14cba5a3e4a16634bb38bb2c2db62d322cd57b74.zip |
Fixes bug # 1411432 (KYRA: graphics glitch when using the ice scroll)
svn-id: r20124
Diffstat (limited to 'kyra')
-rw-r--r-- | kyra/kyra.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |