Do not apply underwater effects to player's voice (Fixes #3850)

pull/213/head
MiroslavR 8 years ago
parent 9f1527b7da
commit d24bcbac15

@ -259,7 +259,7 @@ namespace MWSound
float basevol = volumeFromType(Play_TypeVoice); float basevol = volumeFromType(Play_TypeVoice);
if(playlocal) 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); mOutput->streamSound(decoder, sound);
} }
else else

Loading…
Cancel
Save