SCI: Fix uninitialized read in SoundCommandParser
This commit is contained in:
parent
e3fff124ee
commit
b51d60f85c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue