diff options
author | Colin Snover | 2016-06-11 16:53:17 -0500 |
---|---|---|
committer | Colin Snover | 2016-06-12 20:28:34 -0500 |
commit | b51d60f85c70554502445ba4bd59b8fba41ef40b (patch) | |
tree | e6e591f4ce4cb9da98297675ff03dfddf0b6878c | |
parent | e3fff124ee2f05370156d28e565a3e156b0a41b0 (diff) | |
download | scummvm-rg350-b51d60f85c70554502445ba4bd59b8fba41ef40b.tar.gz scummvm-rg350-b51d60f85c70554502445ba4bd59b8fba41ef40b.tar.bz2 scummvm-rg350-b51d60f85c70554502445ba4bd59b8fba41ef40b.zip |
SCI: Fix uninitialized read in SoundCommandParser
-rw-r--r-- | engines/sci/sound/soundcmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index fe33ea1feb..efa4735bf4 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 |