1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 10:49:40 +00:00

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

This commit is contained in:
MiroslavR 2017-04-30 18:49:32 +02:00
parent 9f1527b7da
commit d24bcbac15

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