[Scummvm-git-logs] scummvm branch-3-0 -> 2a9f97d966330a827c69eec85fdde020b086c435

sluicebox noreply at scummvm.org
Thu Dec 4 21:04:28 UTC 2025


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:
2a9f97d966 PRIVATE: Stop sounds before playing police bust audio


Commit: 2a9f97d966330a827c69eec85fdde020b086c435
    https://github.com/scummvm/scummvm/commit/2a9f97d966330a827c69eec85fdde020b086c435
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2025-12-04T13:04:18-08:00

Commit Message:
PRIVATE: Stop sounds before playing police bust audio

Fixes a lockup that can occur now that the wall safe alarm is fixed

Changed paths:
    engines/private/private.cpp


diff --git a/engines/private/private.cpp b/engines/private/private.cpp
index f6fe302f4fe..bb1f6b51520 100644
--- a/engines/private/private.cpp
+++ b/engines/private/private.cpp
@@ -621,7 +621,7 @@ void PrivateEngine::completePoliceBust() {
 	// Play audio on the second bust movie
 	if (kPoliceBustVideos[_policeBustMovieIndex] == 2) {
 		Common::String s("global/transiti/audio/spoc02VO.wav");
-		g_private->playSound(s, 1, false, false);
+		g_private->playSound(s, 1, true, false);
 		g_private->changeCursor("default");
 		g_private->waitForSoundToStop();
 	}




More information about the Scummvm-git-logs mailing list