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:
parent
41acf18a53
commit
c870bf22d1
8 changed files with 116 additions and 56 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue