summaryrefslogtreecommitdiff
path: root/indra/llaudio
diff options
context:
space:
mode:
authorBaker Linden <baker@lindenlab.com>2014-03-03 11:53:57 -0800
committerBaker Linden <baker@lindenlab.com>2014-03-03 11:53:57 -0800
commit28d3bb09751aeebb6d7411c426b21c56246f9ff0 (patch)
tree707487ae002a60db2af8fa6294255d6cce36e98a /indra/llaudio
parent3f9f8bb8bf62c5d861edf32042d59bc2cea12fdc (diff)
[MAINT-3555][MAINT-3703]
- Removed logging for MAINT-3555 - Added NULL guard to fix MAINT-3703 (hopefully)
Diffstat (limited to 'indra/llaudio')
-rw-r--r--indra/llaudio/lllistener_fmodex.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llaudio/lllistener_fmodex.cpp b/indra/llaudio/lllistener_fmodex.cpp
index 2509a7aebc..31ab47a635 100644
--- a/indra/llaudio/lllistener_fmodex.cpp
+++ b/indra/llaudio/lllistener_fmodex.cpp
@@ -94,6 +94,11 @@ void LLListener_FMODEX::orient(LLVector3 up, LLVector3 at)
//-----------------------------------------------------------------------
void LLListener_FMODEX::commitDeferredChanges()
{
+ if(!mSystem)
+ {
+ return;
+ }
+
mSystem->update();
}