From 4008adb2b19d7bcc62502754dc1a4fc4a86f50dc Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Fri, 16 Jul 2010 00:55:50 -0700 Subject: Always play sounds regardless of maturity --- linden/indra/newview/llviewerobject.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/linden/indra/newview/llviewerobject.cpp b/linden/indra/newview/llviewerobject.cpp index 7a1d50f..6e74caf 100644 --- a/linden/indra/newview/llviewerobject.cpp +++ b/linden/indra/newview/llviewerobject.cpp @@ -4389,12 +4389,14 @@ void LLViewerObject::setAttachedSound(const LLUUID &audio_uuid, const LLUUID& ow mAudioSourcep->play(LLUUID::null); } - // Play this sound if region maturity permits + /*// Play this sound if region maturity permits if( gAgent.canAccessMaturityAtGlobal(this->getPositionGlobal()) ) { //llinfos << "Playing attached sound " << audio_uuid << llendl; mAudioSourcep->play(audio_uuid); - } + }*/ + // Actually, always play sounds regardless of maturity -- MC + mAudioSourcep->play(audio_uuid); } } -- cgit v1.1