aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_scripts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/riven_scripts.cpp')
-rw-r--r--engines/mohawk/riven_scripts.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mohawk/riven_scripts.cpp b/engines/mohawk/riven_scripts.cpp
index 068f0024af..bdb30bd391 100644
--- a/engines/mohawk/riven_scripts.cpp
+++ b/engines/mohawk/riven_scripts.cpp
@@ -580,7 +580,8 @@ void RivenSimpleCommand::activateSLST(uint16 op, uint16 argc, uint16 *argv) {
return;
_vm->_activatedSLST = true;
- _vm->_sound->playSLST(argv[0], _vm->getCurCard()->getId());
+ SLSTRecord picture = _vm->getCurCard()->getSound(argv[0]);
+ _vm->_sound->playSLST(picture);
}
// Command 41: activate MLST record and play