[Scummvm-cvs-logs] scummvm master -> b51d60f85c70554502445ba4bd59b8fba41ef40b
csnover
csnover at users.noreply.github.com
Mon Jun 13 03:30:35 CEST 2016
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:
b51d60f85c SCI: Fix uninitialized read in SoundCommandParser
Commit: b51d60f85c70554502445ba4bd59b8fba41ef40b
https://github.com/scummvm/scummvm/commit/b51d60f85c70554502445ba4bd59b8fba41ef40b
Author: Colin Snover (github.com at zetafleet.com)
Date: 2016-06-12T20:28:34-05:00
Commit Message:
SCI: Fix uninitialized read in SoundCommandParser
Changed paths:
engines/sci/sound/soundcmd.cpp
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index fe33ea1..efa4735 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -118,6 +118,7 @@ void SoundCommandParser::processInitSound(reg_t obj) {
newSound->resourceId = resourceId;
newSound->soundObj = obj;
newSound->loop = readSelectorValue(_segMan, obj, SELECTOR(loop));
+ newSound->overridePriority = false;
if (_soundVersion <= SCI_VERSION_0_LATE)
newSound->priority = readSelectorValue(_segMan, obj, SELECTOR(priority));
else
More information about the Scummvm-git-logs
mailing list