From 1b062d1e39988388468bb13af97276d5674bbcbe Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Thu, 4 Aug 2016 20:26:26 +0200 Subject: MOHAWK: Move the sound lists to RivenCard --- engines/mohawk/riven_scripts.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/mohawk/riven_scripts.cpp') 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 -- cgit v1.2.3