aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolplacer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltoolplacer.cpp')
-rw-r--r--linden/indra/newview/lltoolplacer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lltoolplacer.cpp b/linden/indra/newview/lltoolplacer.cpp
index 30347be..721e59e 100644
--- a/linden/indra/newview/lltoolplacer.cpp
+++ b/linden/indra/newview/lltoolplacer.cpp
@@ -224,8 +224,8 @@ BOOL LLToolPlacer::addObject( LLPCode pcode, S32 x, S32 y, U8 use_physics )
224 // Play creation sound 224 // Play creation sound
225 if (gAudiop) 225 if (gAudiop)
226 { 226 {
227 F32 volume = gSavedSettings.getBOOL("MuteUI") ? 0.f : gSavedSettings.getF32("AudioLevelUI"); 227 gAudiop->triggerSound( LLUUID(gSavedSettings.getString("UISndObjectCreate")),
228 gAudiop->triggerSound( LLUUID(gSavedSettings.getString("UISndObjectCreate")), gAgent.getID(), volume); 228 gAgent.getID(), 1.0f, LLAudioEngine::AUDIO_TYPE_UI);
229 } 229 }
230 230
231 gMessageSystem->newMessageFast(_PREHASH_ObjectAdd); 231 gMessageSystem->newMessageFast(_PREHASH_ObjectAdd);