MOHAWK: Separate background sound handling from other sounds for Myst. Allow the scripts to change the background sound volume.

svn-id: r54953
This commit is contained in:
Bastien Bouclet 2010-12-18 13:12:56 +00:00
parent 41acf18a53
commit c870bf22d1
8 changed files with 116 additions and 56 deletions

View file

@ -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;
}