mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 16:06:44 +00:00
Merge pull request #1282 from MiroslavR/noenv_player_vo
Do not apply underwater effects to player's voice
This commit is contained in:
commit
796d2c59ca
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue