Skip to content
Permalink
Browse files

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

Fixes Achenar's door animation being mispositionned on Channelwood.

Fixes Trac#10498.
  • Loading branch information
bgK committed Apr 23, 2018
1 parent 0015d51 commit 366fbf5d2a7a427735c7f3c144359da21382f119
Showing with 4 additions and 2 deletions.
  1. +4 −2 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;
}

0 comments on commit 366fbf5

Please sign in to comment.
You can’t perform that action at this time.