[Scummvm-cvs-logs] CVS: scummvm/sword2 build_display.cpp,1.79,1.80
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Sun Oct 30 08:22:32 CET 2005
Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23999
Modified Files:
build_display.cpp
Log Message:
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.
Index: build_display.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/build_display.cpp,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- build_display.cpp 29 Oct 2005 21:24:53 -0000 1.79
+++ build_display.cpp 30 Oct 2005 16:21:54 -0000 1.80
@@ -974,6 +974,8 @@
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 @@
if (_vm->_quit)
return;
+ waitForFade();
+
_vm->_sound->muteFx(false);
_vm->_sound->muteSpeech(false);
More information about the Scummvm-git-logs
mailing list