diff options
Diffstat (limited to 'engines/mohawk/riven_card.cpp')
-rw-r--r-- | engines/mohawk/riven_card.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/riven_card.cpp b/engines/mohawk/riven_card.cpp index 09c72d5258..cc816a81c9 100644 --- a/engines/mohawk/riven_card.cpp +++ b/engines/mohawk/riven_card.cpp @@ -149,7 +149,7 @@ void RivenCard::loadCardPictureList(uint16 id) { void RivenCard::drawPicture(uint16 index, bool queue) { if (index > 0 && index <= _pictureList.size()) { - RivenScriptPtr script = _vm->_scriptMan->createScriptFromData(1, 39, 1, index); + RivenScriptPtr script = _vm->_scriptMan->createScriptFromData(1, kRivenCommandActivatePLST, 1, index); _vm->_scriptMan->runScript(script, queue); } } @@ -216,7 +216,7 @@ void RivenCard::loadCardSoundList(uint16 id) { void RivenCard::playSound(uint16 index, bool queue) { if (index > 0 && index <= _soundList.size()) { - RivenScriptPtr script = _vm->_scriptMan->createScriptFromData(1, 40, 1, index); + RivenScriptPtr script = _vm->_scriptMan->createScriptFromData(1, kRivenCommandActivateSLST, 1, index); _vm->_scriptMan->runScript(script, queue); } } |