From 27ebee0c5d5fa735bb1f011e8967e5736ecd6f43 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sun, 15 Feb 2009 03:17:41 -0700 Subject: Gestures now muted with sounds --- linden/indra/newview/llviewergesture.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linden') diff --git a/linden/indra/newview/llviewergesture.cpp b/linden/indra/newview/llviewergesture.cpp index a080663..d99a3a8 100644 --- a/linden/indra/newview/llviewergesture.cpp +++ b/linden/indra/newview/llviewergesture.cpp @@ -43,6 +43,7 @@ #include "llinventorymodel.h" #include "llvoavatar.h" #include "llxfermanager.h" +#include "llviewercontrol.h" #include "llviewermessage.h" // send_guid_sound_trigger #include "llviewernetwork.h" #include "llagent.h" @@ -50,7 +51,7 @@ // Globals LLViewerGestureList gGestureList; -const F32 LLViewerGesture::SOUND_VOLUME = 1.f; +const F32 LLViewerGesture::SOUND_VOLUME = gSavedSettings.getBOOL("MuteSounds") ? 0.f : 1.f; LLViewerGesture::LLViewerGesture() : LLGesture() -- cgit v1.1