[Scummvm-git-logs] scummvm master -> 3aa5b2e8831d035046ac9d02211610596ac83d56

djsrv dservilla at gmail.com
Fri Jul 24 00:48:36 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:
3aa5b2e883 DIRECTOR: Don't step stopped movie


Commit: 3aa5b2e8831d035046ac9d02211610596ac83d56
    https://github.com/scummvm/scummvm/commit/3aa5b2e8831d035046ac9d02211610596ac83d56
Author: djsrv (dservilla at gmail.com)
Date: 2020-07-23T20:47:34-04:00

Commit Message:
DIRECTOR: Don't step stopped movie

Changed paths:
    engines/director/score.cpp


diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index d7791eff2e..bf39466ab7 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -236,6 +236,9 @@ void Score::startPlay() {
 }
 
 void Score::step() {
+	if (_playState == kPlayStopped)
+		return;
+
 	_lingo->processEvents();
 
 	update();




More information about the Scummvm-git-logs mailing list