aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_scripts.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-01-19 05:01:45 +0000
committerMatthew Hoops2010-01-19 05:01:45 +0000
commitc20df070f35557a8de5fbd3475ee5579abc584bf (patch)
tree361551f2e166d6fc98778d21ebb3fa782a5419fb /engines/mohawk/riven_scripts.cpp
parent9baa2acdca4a3d9440e836d917f14b5e1cdb6178 (diff)
downloadscummvm-rg350-c20df070f35557a8de5fbd3475ee5579abc584bf.tar.gz
scummvm-rg350-c20df070f35557a8de5fbd3475ee5579abc584bf.tar.bz2
scummvm-rg350-c20df070f35557a8de5fbd3475ee5579abc584bf.zip
Make the workaround for the Riven intro background music work in the DVD version too.
svn-id: r47371
Diffstat (limited to 'engines/mohawk/riven_scripts.cpp')
-rw-r--r--engines/mohawk/riven_scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven_scripts.cpp b/engines/mohawk/riven_scripts.cpp
index 090b30d39c..512354427a 100644
--- a/engines/mohawk/riven_scripts.cpp
+++ b/engines/mohawk/riven_scripts.cpp
@@ -542,7 +542,7 @@ void RivenScript::activatePLST(uint16 op, uint16 argc, uint16 *argv) {
void RivenScript::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->getCurStack() == tspit && _vm->getCurCard() == 155 && argv[0] == 2)
+ if (_vm->getCurStack() == tspit && _vm->getCurCardRMAP() == 0x6e9a && argv[0] == 2)
return;
_vm->_sound->playSLST(argv[0], _vm->getCurCard());