Merge pull request #1282 from MiroslavR/noenv_player_vo

Do not apply underwater effects to player's voice
This commit is contained in:
scrawl 2017-05-07 21:07:19 +02:00 committed by GitHub
commit 796d2c59ca

View file

@ -259,7 +259,7 @@ namespace MWSound
float basevol = volumeFromType(Play_TypeVoice);
if(playlocal)
{
sound.reset(new Stream(1.0f, basevol, 1.0f, Play_Normal|Play_TypeVoice|Play_2D));
sound.reset(new Stream(1.0f, basevol, 1.0f, Play_NoEnv|Play_TypeVoice|Play_2D));
mOutput->streamSound(decoder, sound);
}
else