[Scummvm-git-logs] scummvm master -> 35f755d7d22f03ee51537114ae99922a4528aee3
sluicebox
noreply at scummvm.org
Thu Dec 4 21:03:48 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:
35f755d7d2 PRIVATE: Stop sounds before playing police bust audio
Commit: 35f755d7d22f03ee51537114ae99922a4528aee3
https://github.com/scummvm/scummvm/commit/35f755d7d22f03ee51537114ae99922a4528aee3
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2025-12-04T13:03:33-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 32827c2e764..8534971b396 100644
--- a/engines/private/private.cpp
+++ b/engines/private/private.cpp
@@ -628,7 +628,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