[Scummvm-git-logs] scummvm master -> 0388bfc105e98af504568c0887ae7cce5f46430e

npjg nathanael.gentrydb8 at gmail.com
Thu Jun 18 02:45:27 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:
0388bfc105 DIRECTOR: Fix a careless typo


Commit: 0388bfc105e98af504568c0887ae7cce5f46430e
    https://github.com/scummvm/scummvm/commit/0388bfc105e98af504568c0887ae7cce5f46430e
Author: Nathanael Gentry (nathanael.gentrydb8 at gmail.com)
Date: 2020-06-17T22:45:18-04:00

Commit Message:
DIRECTOR: Fix a careless typo

Changed paths:
    engines/director/score.cpp


diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 5dba144461..808ea0361a 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -565,12 +565,11 @@ void Score::renderFrame(uint16 frameId, bool forceUpdate, bool updateStageOnly)
 		// WORKAROUND, HACK: Redraw reverse ink sprites each time to prevent flickering
 		needsUpdate = needsUpdate || (currentSprite->_ink == kInkTypeReverse);
 
-		if (needsUpdate || forceUpdate) {
+		if (needsUpdate || forceUpdate)
 			unrenderSprite(i);
 
-			channel->_sprite = nextSprite;
-			channel->updateLocation();
-		}
+		channel->_sprite = nextSprite;
+		channel->updateLocation();
 	}
 
 	for (uint id = 0; id < _channels.size(); id++) {




More information about the Scummvm-git-logs mailing list