[Scummvm-git-logs] scummvm master -> 18f140ef91b29d3aa6397be5765b05e9fe467363

sev- noreply at scummvm.org
Fri Jun 30 21:52:03 UTC 2023


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:
18f140ef91 DIRECTOR: Do not set autopuppet flag on `rect of sprite`


Commit: 18f140ef91b29d3aa6397be5765b05e9fe467363
    https://github.com/scummvm/scummvm/commit/18f140ef91b29d3aa6397be5765b05e9fe467363
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-06-30T23:51:35+02:00

Commit Message:
DIRECTOR: Do not set autopuppet flag on `rect of sprite`

This ifxes cursor regression in devo (initial movie) and
dark eye (--start-movie=DKYDATA/DIRFILES/NT.DIR)

Changed paths:
    engines/director/channel.cpp


diff --git a/engines/director/channel.cpp b/engines/director/channel.cpp
index 08847f34f3d..80f9bc521e6 100644
--- a/engines/director/channel.cpp
+++ b/engines/director/channel.cpp
@@ -565,7 +565,7 @@ void Channel::setHeight(int h) {
 }
 
 void Channel::setBbox(int l, int t, int r, int b) {
-	if (_sprite->_stretch) {
+	if (_sprite->_stretch || _sprite->_puppet) {
 		if (!(_sprite->_cast && _sprite->_cast->_type == kCastShape) && !_sprite->_stretch)
 			return;
 		_width = r - l;




More information about the Scummvm-git-logs mailing list