SCI: Fixed a long-standing bug in kDoSound(init)
The sound handle should not be set in kDoSound(init), but in kDoSound(play). This is verified against several SCI versions, plus game scripts check if a sound slot is playing primarily by checking its handle. Fixes the sound in Shivers and probably an assortment of other sound related bugs
This commit is contained in:
parent
497c3e75b4
commit
0166665926
1 changed files with 0 additions and 2 deletions
|
@ -133,8 +133,6 @@ void SoundCommandParser::processInitSound(reg_t obj) {
|
|||
writeSelectorValue(_segMan, obj, SELECTOR(state), kSoundInitialized);
|
||||
else
|
||||
writeSelector(_segMan, obj, SELECTOR(nodePtr), obj);
|
||||
|
||||
writeSelector(_segMan, obj, SELECTOR(handle), obj);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue