aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-02-15 03:17:41 -0700
committerMcCabe Maxsted2009-02-15 03:17:41 -0700
commit27ebee0c5d5fa735bb1f011e8967e5736ecd6f43 (patch)
tree25d13fead2d0a7a8ac731947b3e951e22faa36c8 /linden
parentRemoved useless music pause button (diff)
downloadmeta-impy-27ebee0c5d5fa735bb1f011e8967e5736ecd6f43.zip
meta-impy-27ebee0c5d5fa735bb1f011e8967e5736ecd6f43.tar.gz
meta-impy-27ebee0c5d5fa735bb1f011e8967e5736ecd6f43.tar.bz2
meta-impy-27ebee0c5d5fa735bb1f011e8967e5736ecd6f43.tar.xz
Gestures now muted with sounds
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llviewergesture.cpp3
1 files changed, 2 insertions, 1 deletions
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 @@
43#include "llinventorymodel.h" 43#include "llinventorymodel.h"
44#include "llvoavatar.h" 44#include "llvoavatar.h"
45#include "llxfermanager.h" 45#include "llxfermanager.h"
46#include "llviewercontrol.h"
46#include "llviewermessage.h" // send_guid_sound_trigger 47#include "llviewermessage.h" // send_guid_sound_trigger
47#include "llviewernetwork.h" 48#include "llviewernetwork.h"
48#include "llagent.h" 49#include "llagent.h"
@@ -50,7 +51,7 @@
50// Globals 51// Globals
51LLViewerGestureList gGestureList; 52LLViewerGestureList gGestureList;
52 53
53const F32 LLViewerGesture::SOUND_VOLUME = 1.f; 54const F32 LLViewerGesture::SOUND_VOLUME = gSavedSettings.getBOOL("MuteSounds") ? 0.f : 1.f;
54 55
55LLViewerGesture::LLViewerGesture() 56LLViewerGesture::LLViewerGesture()
56: LLGesture() 57: LLGesture()