diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llviewergesture.cpp | 3 |
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 |
51 | LLViewerGestureList gGestureList; | 52 | LLViewerGestureList gGestureList; |
52 | 53 | ||
53 | const F32 LLViewerGesture::SOUND_VOLUME = 1.f; | 54 | const F32 LLViewerGesture::SOUND_VOLUME = gSavedSettings.getBOOL("MuteSounds") ? 0.f : 1.f; |
54 | 55 | ||
55 | LLViewerGesture::LLViewerGesture() | 56 | LLViewerGesture::LLViewerGesture() |
56 | : LLGesture() | 57 | : LLGesture() |