aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/console.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2010-12-18 13:12:56 +0000
committerBastien Bouclet2010-12-18 13:12:56 +0000
commitc870bf22d1f4bd154267a31b6a24eeb6e85c34d7 (patch)
treee07244845d270d76151bd84aaefca77cbc98d7fb /engines/mohawk/console.cpp
parent41acf18a5376f47c9965263ad5fdc8cc2b3a8005 (diff)
downloadscummvm-rg350-c870bf22d1f4bd154267a31b6a24eeb6e85c34d7.tar.gz
scummvm-rg350-c870bf22d1f4bd154267a31b6a24eeb6e85c34d7.tar.bz2
scummvm-rg350-c870bf22d1f4bd154267a31b6a24eeb6e85c34d7.zip
MOHAWK: Separate background sound handling from other sounds for Myst. Allow the scripts to change the background sound volume.
svn-id: r54953
Diffstat (limited to 'engines/mohawk/console.cpp')
-rw-r--r--engines/mohawk/console.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp
index d406d7575c..bf1d9b02ce 100644
--- a/engines/mohawk/console.cpp
+++ b/engines/mohawk/console.cpp
@@ -215,8 +215,7 @@ bool MystConsole::Cmd_PlaySound(int argc, const char **argv) {
return true;
}
- _vm->_sound->stopSound();
- _vm->_sound->playSound((uint16)atoi(argv[1]));
+ _vm->_sound->replaceSound((uint16)atoi(argv[1]));
return false;
}