diff options
author | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2014-03-14 06:39:09 +0200 |
---|---|---|
committer | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2014-03-14 06:39:09 +0200 |
commit | 36c8c92098004c4f2eb80114a49f3660a2d3dcbb (patch) | |
tree | 3af97aed70b19412cd5f67ca20620e597aafb892 /indra/newview/lldeferredsounds.cpp | |
parent | c7aad1f7e3f643706d714b4426070174abc95145 (diff) |
MAINT-3804 FIXED Crash in LLAudioEngine::getAudioData when playing gestures with audio device disabled.
Diffstat (limited to 'indra/newview/lldeferredsounds.cpp')
-rwxr-xr-x | indra/newview/lldeferredsounds.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/lldeferredsounds.cpp b/indra/newview/lldeferredsounds.cpp index 9416e7cd29..e1613e4719 100755 --- a/indra/newview/lldeferredsounds.cpp +++ b/indra/newview/lldeferredsounds.cpp @@ -39,7 +39,10 @@ void LLDeferredSounds::playdeferredSounds() { while(soundVector.size()) { - gAudiop->triggerSound(soundVector.back()); + if (gAudiop) + { + gAudiop->triggerSound(soundVector.back()); + } soundVector.pop_back(); } } |