diff options
author | Johannes Schickel | 2010-07-22 21:45:12 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-07-22 21:45:12 +0000 |
commit | f48cb3cbb5dde861c859ee9029dbe3b3d37b824f (patch) | |
tree | 6e9b25fe73e86cd2d27f77b4f9edf52fcb385a95 /engines | |
parent | ba47a427b2d8c511a2e9ebbddce28dce0c8d19d8 (diff) | |
download | scummvm-rg350-f48cb3cbb5dde861c859ee9029dbe3b3d37b824f.tar.gz scummvm-rg350-f48cb3cbb5dde861c859ee9029dbe3b3d37b824f.tar.bz2 scummvm-rg350-f48cb3cbb5dde861c859ee9029dbe3b3d37b824f.zip |
KYRA: Remove superfluous palette update on quit.
svn-id: r51169
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/screen.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index 7f3959d5fe..ade9886c2e 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -611,14 +611,6 @@ void Screen::fadePalette(const Palette &pal, int delay, const UpdateFunctor *upF _vm->delay((delayAcc >> 8) * 1000 / 60); delayAcc &= 0xFF; } - - if (_vm->shouldQuit()) { - setScreenPalette(pal); - if (upFunc && upFunc->isValid()) - (*upFunc)(); - else - _system->updateScreen(); - } } void Screen::getFadeParams(const Palette &pal, int delay, int &delayInc, int &diff) { |