[Scummvm-git-logs] scummvm master -> 366fbf5d2a7a427735c7f3c144359da21382f119

bgK bastien.bouclet at gmail.com
Mon Apr 23 13:05:13 CEST 2018


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:
366fbf5d2a MOHAWK: MYST: Clip one coordinate at a time in o_copyImageToBackBuffer


Commit: 366fbf5d2a7a427735c7f3c144359da21382f119
    https://github.com/scummvm/scummvm/commit/366fbf5d2a7a427735c7f3c144359da21382f119
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2018-04-23T13:04:05+02:00

Commit Message:
MOHAWK: MYST: Clip one coordinate at a time in o_copyImageToBackBuffer

Fixes Achenar's door animation being mispositionned on Channelwood.

Fixes Trac#10498.

Changed paths:
    engines/mohawk/myst_scripts.cpp


diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp
index 1ff08ea..ef49907 100644
--- a/engines/mohawk/myst_scripts.cpp
+++ b/engines/mohawk/myst_scripts.cpp
@@ -603,9 +603,11 @@ void MystScriptParser::o_copyImageToBackBuffer(uint16 var, const ArgumentsArray
 
 	Common::Rect dstRect = Common::Rect(args[5], args[6], 544, 333);
 
-	if (dstRect.left == -1 || dstRect.top == -1) {
-		// Interpreted as full screen
+	if (dstRect.left == -1) {
 		dstRect.left = 0;
+	}
+
+	if (dstRect.top == -1) {
 		dstRect.top = 0;
 	}
 





More information about the Scummvm-git-logs mailing list