summaryrefslogtreecommitdiff
path: root/indra/llaudio
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-11-27 18:28:23 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-11-27 18:28:23 +0200
commit59ceaf556960cec87edbcf93a00a77f54c0e9a1a (patch)
treef923c60e48535e5476444e98de54677b1594eb4b /indra/llaudio
parenta3c2274963452f85cb7e28a1dec54a24c3272a1d (diff)
SL-16339 Rename setAmbient in openal
Diffstat (limited to 'indra/llaudio')
-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);