[Scummvm-git-logs] scummvm master -> 32d4ef41be6a807b33b2548ca63940b443224d3f

AndywinXp noreply at scummvm.org
Wed Jun 26 20:05:50 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:
32d4ef41be SCUMM: HE: Fix BYLE actors rect dimensions being off by one


Commit: 32d4ef41be6a807b33b2548ca63940b443224d3f
    https://github.com/scummvm/scummvm/commit/32d4ef41be6a807b33b2548ca63940b443224d3f
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-06-26T22:05:45+02:00

Commit Message:
SCUMM: HE: Fix BYLE actors rect dimensions being off by one

This fixes the rendering of replay screens in Backyard Games.

Changed paths:
    engines/scumm/akos.cpp


diff --git a/engines/scumm/akos.cpp b/engines/scumm/akos.cpp
index 95bc790c6e0..cd3d6c4b73d 100644
--- a/engines/scumm/akos.cpp
+++ b/engines/scumm/akos.cpp
@@ -849,6 +849,8 @@ byte AkosRenderer::paintCelByleRLE(int xMoveCur, int yMoveCur) {
 	if (_vm->_game.heversion >= 71 && !actorIsScaled) {
 		if (_clipOverride.right > _clipOverride.left && _clipOverride.bottom > _clipOverride.top) {
 			compData.boundsRect = _clipOverride;
+			compData.boundsRect.right += 1;
+			compData.boundsRect.bottom += 1;
 		}
 	}
 




More information about the Scummvm-git-logs mailing list