[Scummvm-git-logs] scummvm master -> 264cddc0c5f6756d68aa22aac8a7f07a199efeb0

sdelamarre noreply at scummvm.org
Thu Mar 5 14:41:14 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
264cddc0c5 GOB: Fix conditions preventing a video to be advanced by updateLive


Commit: 264cddc0c5f6756d68aa22aac8a7f07a199efeb0
    https://github.com/scummvm/scummvm/commit/264cddc0c5f6756d68aa22aac8a7f07a199efeb0
Author: Simon Delamarre (simon.delamarre14 at gmail.com)
Date: 2026-03-05T15:40:54+01:00

Commit Message:
GOB: Fix conditions preventing a video to be advanced by updateLive

Only video without image AND without sound synchronization must be
handled by it

This fixes a bug in Adi4, which made Adi wrongly repeat some sentences

Changed paths:
    engines/gob/videoplayer.cpp


diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp
index f73f448c608..47f422f1a0f 100644
--- a/engines/gob/videoplayer.cpp
+++ b/engines/gob/videoplayer.cpp
@@ -589,8 +589,7 @@ void VideoPlayer::updateVideo(int slot, bool force) {
 	}
 
 	if (_vm->getGameType() == kGameTypeAdibou2 || _vm->getGameType() == kGameTypeAdi4) {
-		if (video->decoder->hasVideo() &&
-			!video->properties.noWaitSound)
+		if (video->decoder->hasVideo() || !video->properties.noWaitSound)
 			return;
 
 		video->properties.startFrame = video->decoder->getCurFrame();




More information about the Scummvm-git-logs mailing list