From b51d60f85c70554502445ba4bd59b8fba41ef40b Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 11 Jun 2016 16:53:17 -0500 Subject: SCI: Fix uninitialized read in SoundCommandParser --- engines/sci/sound/soundcmd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci/sound/soundcmd.cpp') 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 -- cgit v1.2.3