[Scummvm-git-logs] scummvm master -> d293504b9e9138dbe859f37f5a67c00c936bdc35

npjg nathanael.gentrydb8 at gmail.com
Fri Jul 31 14:40:00 UTC 2020


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:
d293504b9e DIRECTOR: Fix typo


Commit: d293504b9e9138dbe859f37f5a67c00c936bdc35
    https://github.com/scummvm/scummvm/commit/d293504b9e9138dbe859f37f5a67c00c936bdc35
Author: Nathanael Gentry (nathanael.gentrydb8 at gmail.com)
Date: 2020-07-31T10:37:05-04:00

Commit Message:
DIRECTOR: Fix typo

Changed paths:
    engines/director/channel.cpp


diff --git a/engines/director/channel.cpp b/engines/director/channel.cpp
index a275df316e..b17752c98e 100644
--- a/engines/director/channel.cpp
+++ b/engines/director/channel.cpp
@@ -287,13 +287,12 @@ void Channel::replaceSprite(Sprite *nextSprite) {
 
 	// Sprites marked moveable are constrained to the same bounding box until
 	// the moveable is disabled
-	if (!_sprite->_moveable || newSprite) {
+	if (!_sprite->_moveable || newSprite)
 		_currentPoint = _sprite->_startPoint;
 
-		if (!_sprite->_stretch) {
-			_width = _sprite->_width;
-			_height = _sprite->_height;
-		}
+	if (!_sprite->_stretch) {
+		_width = _sprite->_width;
+		_height = _sprite->_height;
 	}
 }
 




More information about the Scummvm-git-logs mailing list