summaryrefslogtreecommitdiff
path: root/indra/llaudio/llaudioengine_openal.cpp
diff options
context:
space:
mode:
authorHoward Stearns <aech@lindenlab.com>2022-01-24 16:52:29 +0000
committerHoward Stearns <aech@lindenlab.com>2022-01-24 16:52:29 +0000
commitfec246a2e6d380971080d95446cc55059be01352 (patch)
tree358eca34c63a9256a26acadd0b3e379cb60dc0be /indra/llaudio/llaudioengine_openal.cpp
parent67dc2924bf6f004326f8e22d1d92c4a071c946a4 (diff)
parent5ab34ccc5a5ec0abd6526b16379d7e29d8668ec4 (diff)
Merged DRTVWR-544-maint into SL-316
Diffstat (limited to 'indra/llaudio/llaudioengine_openal.cpp')
-rw-r--r--indra/llaudio/llaudioengine_openal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llaudio/llaudioengine_openal.cpp b/indra/llaudio/llaudioengine_openal.cpp
index 3bdd0302ee..305aa1ecb5 100644
--- a/indra/llaudio/llaudioengine_openal.cpp
+++ b/indra/llaudio/llaudioengine_openal.cpp
@@ -297,7 +297,7 @@ void LLAudioChannelOpenAL::update3DPosition()
{
return;
}
- if (mCurrentSourcep->isAmbient())
+ if (mCurrentSourcep->isForcedPriority())
{
alSource3f(mALSource, AL_POSITION, 0.0, 0.0, 0.0);
alSource3f(mALSource, AL_VELOCITY, 0.0, 0.0, 0.0);