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

rvanlaar noreply at scummvm.org
Thu Mar 10 16:50:32 UTC 2022


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:
c223a8f883 Director: Remove framerate fallback


Commit: c223a8f883776036e6dbfaba0565242a14c079e4
    https://github.com/scummvm/scummvm/commit/c223a8f883776036e6dbfaba0565242a14c079e4
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2022-03-10T17:50:24+01:00

Commit Message:
Director: Remove framerate fallback

The framerate byte is now understood. A framerate byte of 0 means a
framerate of 3. Which is handled during framerate parsing.
The check for 0 is therefor redundant.

Changed paths:
    engines/director/cast.cpp


diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp
index 1c57ba37d42..41b991be707 100644
--- a/engines/director/cast.cpp
+++ b/engines/director/cast.cpp
@@ -316,8 +316,6 @@ bool Cast::loadConfig() {
 	if (!_isShared) {
 		debugC(1, kDebugLoading, "Cast::loadConfig(): currentFrameRate: %d", currentFrameRate);
 		_movie->getScore()->_currentFrameRate = currentFrameRate;
-		if (_movie->getScore()->_currentFrameRate == 0)
-			_movie->getScore()->_currentFrameRate = 20;
 	}
 
 	uint16 humanVer = humanVersion(_version);




More information about the Scummvm-git-logs mailing list