aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_scripts.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-09-07 20:18:30 +0000
committerMatthew Hoops2010-09-07 20:18:30 +0000
commit58139baf3710160c8382db14df26291d176e70cd (patch)
tree88b9e8ef453e7fcda32d94e9268ea5c26c0df131 /engines/mohawk/riven_scripts.cpp
parent4c107cc97a0d393508d570d7374a3304f564defe (diff)
downloadscummvm-rg350-58139baf3710160c8382db14df26291d176e70cd.tar.gz
scummvm-rg350-58139baf3710160c8382db14df26291d176e70cd.tar.bz2
scummvm-rg350-58139baf3710160c8382db14df26291d176e70cd.zip
MOHAWK: Sound cleanup
Merge the Riven sound file code with the main Riven resource code and remove the mainSoundFile parameter from Sound::playSound(). Reasoning: The sound id's do not collide with the sound id's in the main data files. The sound archives only exist because the original CD version had the ability to choose between low and high quality audio. svn-id: r52631
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 2b91dce35a..151df9f147 100644
--- a/engines/mohawk/riven_scripts.cpp
+++ b/engines/mohawk/riven_scripts.cpp
@@ -348,7 +348,7 @@ void RivenScript::playScriptSLST(uint16 op, uint16 argc, uint16 *argv) {
// Command 4: play local tWAV resource (twav_id, volume, u1)
void RivenScript::playSound(uint16 op, uint16 argc, uint16 *argv) {
- _vm->_sound->playSound(argv[0], false);
+ _vm->_sound->playSound(argv[0]);
}
// Command 7: set variable value (variable, value)