From 58139baf3710160c8382db14df26291d176e70cd Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 7 Sep 2010 20:18:30 +0000 Subject: 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 --- engines/mohawk/riven_scripts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mohawk/riven_scripts.cpp') 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) -- cgit v1.2.3