[Scummvm-git-logs] scummvm master -> 743343be69ebc31522b85db1c7e6e6674acfb69b

athrxx athrxx at scummvm.org
Wed Sep 8 22:31:14 UTC 2021


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:
743343be69 SCUMM: (FT) - fix bug no. 12903 ("Sometimes skipping videos occur")


Commit: 743343be69ebc31522b85db1c7e6e6674acfb69b
    https://github.com/scummvm/scummvm/commit/743343be69ebc31522b85db1c7e6e6674acfb69b
Author: athrxx (athrxx at scummvm.org)
Date: 2021-09-09T00:30:28+02:00

Commit Message:
SCUMM: (FT) - fix bug no. 12903 ("Sometimes skipping videos occur")

Prevent autosave during smush playback. Thanks to AndywinXp for the tip.

Changed paths:
    engines/scumm/saveload.cpp


diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index 46833d6578..eb36720f99 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -132,7 +132,7 @@ bool ScummEngine::canSaveGameStateCurrently() {
 	// exception here. This the same forced overwriting of the
 	// script decisions as in ScummEngine::processKeyboard.
 	// Also, disable saving when a SAN video is playing.
-	if (_game.id == GID_CMI)
+	if (_game.version >= 7)
 		return !((ScummEngine_v7 *)this)->isSmushActive();
 #endif
 




More information about the Scummvm-git-logs mailing list