aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-10-30 16:21:54 +0000
committerTorbjörn Andersson2005-10-30 16:21:54 +0000
commit089ce9a9825015839f6794c3de90d04803a59b43 (patch)
treecf34c5e484cffd9ab79bf78936bd5360fc23466e
parentce3d1f204955064d284b53e287a9c4b138f6f55d (diff)
downloadscummvm-rg350-089ce9a9825015839f6794c3de90d04803a59b43.tar.gz
scummvm-rg350-089ce9a9825015839f6794c3de90d04803a59b43.tar.bz2
scummvm-rg350-089ce9a9825015839f6794c3de90d04803a59b43.zip
Always fade down the palette at the end of the credits. This fixes a
palette glitch that would only happen if the credits were allowed to run in their entirety. svn-id: r19371
-rw-r--r--sword2/build_display.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sword2/build_display.cpp b/sword2/build_display.cpp
index d483355df6..8a07c82b51 100644
--- a/sword2/build_display.cpp
+++ b/sword2/build_display.cpp
@@ -974,6 +974,8 @@ void Screen::rollCredits() {
free(logoData);
if (!abortCredits) {
+ fadeDown();
+
// The music should either have stopped or be about to stop, so
// wait for it to really happen.
@@ -986,6 +988,8 @@ void Screen::rollCredits() {
if (_vm->_quit)
return;
+ waitForFade();
+
_vm->_sound->muteFx(false);
_vm->_sound->muteSpeech(false);