mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-16 23:19:49 +00:00
MOHAWK: Remove a hack that should not be needed anymore
The script execution order should now be accurate
This commit is contained in:
parent
313d53234b
commit
14990dc91b
@ -579,12 +579,8 @@ void RivenSimpleCommand::activatePLST(uint16 op, uint16 argc, uint16 *argv) {
|
||||
|
||||
// Command 40: activate SLST record (card ambient sound lists)
|
||||
void RivenSimpleCommand::activateSLST(uint16 op, uint16 argc, uint16 *argv) {
|
||||
// WORKAROUND: Disable the SLST that is played during Riven's intro.
|
||||
// Riven X does this too (spoke this over with Jeff)
|
||||
if (_vm->getStack()->getId() == kStackTspit && _vm->getStack()->getCurrentCardGlobalId() == 0x6e9a && argv[0] == 2)
|
||||
return;
|
||||
|
||||
_vm->_activatedSLST = true;
|
||||
|
||||
SLSTRecord slstRecord = _vm->getCard()->getSound(argv[0]);
|
||||
_vm->_sound->playSLST(slstRecord);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user