aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_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/myst_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/myst_scripts.cpp')
-rw-r--r--engines/mohawk/myst_scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp
index 2f6d178da8..29e9f349c3 100644
--- a/engines/mohawk/myst_scripts.cpp
+++ b/engines/mohawk/myst_scripts.cpp
@@ -870,7 +870,7 @@ void MystScriptParser::opcode_30(uint16 op, uint16 var, uint16 argc, uint16 *arg
_vm->_sound->stopSound();
// TODO: Need to keep sound handle and add function to change volume of
// looped running sound for kMystSoundActionChangeVolume type
- _vm->_sound->playSound(soundAction, true, soundVolume);
+ _vm->_sound->playSound(soundAction, soundVolume);
} else {
debugC(kDebugScript, "Unknown");
warning("Unknown sound control value in opcode %d", op);