diff options
author | Christian Goetze (CG) <cg@lindenlab.com> | 2010-09-23 12:56:31 -0700 |
---|---|---|
committer | Christian Goetze (CG) <cg@lindenlab.com> | 2010-09-23 12:56:31 -0700 |
commit | 92195c479f597538a55dfa8b2e02c1b4908a2259 (patch) | |
tree | 2af86834aa11e66f7e74057f4172d29dfd0703e7 /indra/newview/llviewermessage.cpp | |
parent | 78e52f40424cb8336ab5d06c9ea37e16cb2b40a7 (diff) | |
parent | 18bd7dfae789ce0d6be3de3811d6d779fc4ec63e (diff) |
Merged support for platform specific permanent quick links to the installer
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index c35173a7d4..2f3aeec9b3 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -4213,13 +4213,11 @@ void process_preload_sound(LLMessageSystem *msg, void **user_data) // Don't play sounds from a region with maturity above current agent maturity LLVector3d pos_global = objectp->getPositionGlobal(); - if( !gAgent.canAccessMaturityAtGlobal( pos_global ) ) + if (gAgent.canAccessMaturityAtGlobal(pos_global)) { - return; + // Add audioData starts a transfer internally. + sourcep->addAudioData(datap, FALSE); } - - // Add audioData starts a transfer internally. - sourcep->addAudioData(datap, FALSE); } void process_attached_sound(LLMessageSystem *msg, void **user_data) |