summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2010-02-17 17:28:08 -0800
committerRick Pasetto <rick@lindenlab.com>2010-02-17 17:28:08 -0800
commit32e8dbaf389e9f36f3f0a4631172e345abde5e44 (patch)
tree604c5289f8f13ecd452e3cde7025c9af676f9240 /indra
parent1c0603bef2bac6e006df7566aa2a3f8c351a1b7f (diff)
EXT-5079 : Make sure to initialize ambient audio properly when it is muted
Reviewed by Richard (actually it was his idea)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvieweraudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvieweraudio.cpp b/indra/newview/llvieweraudio.cpp
index 934981b0ad..1d935f5ab8 100644
--- a/indra/newview/llvieweraudio.cpp
+++ b/indra/newview/llvieweraudio.cpp
@@ -251,7 +251,7 @@ void audio_update_wind(bool force_update)
{
// initialize wind volume (force_update) by using large volume_delta
// which is sufficient to completely turn off or turn on wind noise
- volume_delta = max_wind_volume;
+ volume_delta = 1.f;
}
// mute wind when not flying