[Scummvm-git-logs] scummvm master -> 84b314b872cd1e7b6b8b9127b0e437d84e0bf599

AndywinXp noreply at scummvm.org
Wed Jun 26 21:26:03 UTC 2024


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:
84b314b872 SCUMM: HE: Fix scaled actors not being clipped


Commit: 84b314b872cd1e7b6b8b9127b0e437d84e0bf599
    https://github.com/scummvm/scummvm/commit/84b314b872cd1e7b6b8b9127b0e437d84e0bf599
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-06-26T23:25:58+02:00

Commit Message:
SCUMM: HE: Fix scaled actors not being clipped

Fixes cursor in Soccer2004 being permanently stamped
on top of the bottom score bar.

Changed paths:
    engines/scumm/akos.cpp


diff --git a/engines/scumm/akos.cpp b/engines/scumm/akos.cpp
index cd3d6c4b73d..a3cd1603d4b 100644
--- a/engines/scumm/akos.cpp
+++ b/engines/scumm/akos.cpp
@@ -846,7 +846,7 @@ byte AkosRenderer::paintCelByleRLE(int xMoveCur, int yMoveCur) {
 	compData.skipWidth = _width;
 	compData.scaleXStep = _mirror ? 1 : -1;
 
-	if (_vm->_game.heversion >= 71 && !actorIsScaled) {
+	if (_vm->_game.heversion >= 71) {
 		if (_clipOverride.right > _clipOverride.left && _clipOverride.bottom > _clipOverride.top) {
 			compData.boundsRect = _clipOverride;
 			compData.boundsRect.right += 1;




More information about the Scummvm-git-logs mailing list