[Scummvm-git-logs] scummvm master -> 3e32365f0f03a5e32ec5b56194ce000c72ff2b63
digitall
noreply at scummvm.org
Sat Jan 1 22:37:26 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:
3e32365f0f SCI: Fix Missing MusicEntry Field Initializer for time
Commit: 3e32365f0f03a5e32ec5b56194ce000c72ff2b63
https://github.com/scummvm/scummvm/commit/3e32365f0f03a5e32ec5b56194ce000c72ff2b63
Author: D G Turner (digitall at scummvm.org)
Date: 2022-01-01T22:34:52Z
Commit Message:
SCI: Fix Missing MusicEntry Field Initializer for time
This may fix bug #13192 (SCI: Police Quest 4 - Random Crashes), but
is good practice anyway.
Changed paths:
engines/sci/sound/music.cpp
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp
index e139d36a393..ff1e252007b 100644
--- a/engines/sci/sound/music.cpp
+++ b/engines/sci/sound/music.cpp
@@ -935,6 +935,8 @@ MusicEntry::MusicEntry() {
soundRes = nullptr;
resourceId = 0;
+ time = 0;
+
dataInc = 0;
ticker = 0;
signal = 0;
More information about the Scummvm-git-logs
mailing list