Implemented per voice volume control. (Used for example in LoL intro)
svn-id: r36184
This commit is contained in:
parent
90184e6812
commit
574a7924df
5 changed files with 11 additions and 10 deletions
|
@ -683,7 +683,7 @@ int TIMInterpreter::cmd_playVocFile(const uint16 *param) {
|
|||
const int volume = (param[1] * 255) / 100;
|
||||
|
||||
if (index < ARRAYSIZE(_vocFiles) && !_vocFiles[index].empty())
|
||||
_vm->sound()->voicePlay(_vocFiles[index].c_str()/*, volume*/, true);
|
||||
_vm->sound()->voicePlay(_vocFiles[index].c_str(), volume, true);
|
||||
else
|
||||
_vm->snd_playSoundEffect(index, volume);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue