palette bug fix (inventory turned blue when leaving the scene after eating the mushroom)
svn-id: r30915
This commit is contained in:
parent
3969249b93
commit
faeb81fb62
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue