summaryrefslogtreecommitdiff
path: root/indra/newview/lldeferredsounds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lldeferredsounds.cpp')
-rwxr-xr-xindra/newview/lldeferredsounds.cpp5
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();
}
}