[Scummvm-git-logs] scummvm master -> 1141bfc1a603decce8f02a85a1fc76073a646d1a

bgK bastien.bouclet at gmail.com
Mon Jul 10 08:12:15 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1141bfc1a6 MOHAWK: Riven: Clear the effects screen at the beginning of credits


Commit: 1141bfc1a603decce8f02a85a1fc76073a646d1a
    https://github.com/scummvm/scummvm/commit/1141bfc1a603decce8f02a85a1fc76073a646d1a
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2017-07-10T08:07:45+02:00

Commit Message:
MOHAWK: Riven: Clear the effects screen at the beginning of credits

It is used as a source for the fade from black effect. Ensures the first
fading effect fades from black and not the previous view.

Fixes #9929, #9930, #9931, #9932, #9933.

Changed paths:
    engines/mohawk/riven_graphics.cpp


diff --git a/engines/mohawk/riven_graphics.cpp b/engines/mohawk/riven_graphics.cpp
index 824372a..4dfbcab 100644
--- a/engines/mohawk/riven_graphics.cpp
+++ b/engines/mohawk/riven_graphics.cpp
@@ -596,6 +596,7 @@ void RivenGraphics::beginCredits() {
 
 	// And clear our screen too
 	clearMainScreen();
+	_effectScreen->fillRect(Common::Rect(0, 0, 608, 392), _pixelFormat.RGBToColor(0, 0, 0));
 }
 
 void RivenGraphics::updateCredits() {





More information about the Scummvm-git-logs mailing list