summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorChristian Goetze (CG) <cg@lindenlab.com>2010-09-23 12:56:31 -0700
committerChristian Goetze (CG) <cg@lindenlab.com>2010-09-23 12:56:31 -0700
commit92195c479f597538a55dfa8b2e02c1b4908a2259 (patch)
tree2af86834aa11e66f7e74057f4172d29dfd0703e7 /indra/newview/llviewermessage.cpp
parent78e52f40424cb8336ab5d06c9ea37e16cb2b40a7 (diff)
parent18bd7dfae789ce0d6be3de3811d6d779fc4ec63e (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.cpp8
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)