diff options
Diffstat (limited to 'linden/indra/newview/llviewergesture.cpp')
-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 168f9af..01b3c58 100644 --- a/linden/indra/newview/llviewergesture.cpp +++ b/linden/indra/newview/llviewergesture.cpp | |||
@@ -44,6 +44,7 @@ | |||
44 | #include "llinventorymodel.h" | 44 | #include "llinventorymodel.h" |
45 | #include "llvoavatar.h" | 45 | #include "llvoavatar.h" |
46 | #include "llxfermanager.h" | 46 | #include "llxfermanager.h" |
47 | #include "llviewercontrol.h" | ||
47 | #include "llviewermessage.h" // send_guid_sound_trigger | 48 | #include "llviewermessage.h" // send_guid_sound_trigger |
48 | #include "llviewernetwork.h" | 49 | #include "llviewernetwork.h" |
49 | #include "llagent.h" | 50 | #include "llagent.h" |
@@ -51,7 +52,7 @@ | |||
51 | // Globals | 52 | // Globals |
52 | LLViewerGestureList gGestureList; | 53 | LLViewerGestureList gGestureList; |
53 | 54 | ||
54 | const F32 LLViewerGesture::SOUND_VOLUME = 1.f; | 55 | const F32 LLViewerGesture::SOUND_VOLUME = gSavedSettings.getBOOL("MuteSounds") ? 0.f : 1.f; |
55 | 56 | ||
56 | LLViewerGesture::LLViewerGesture() | 57 | LLViewerGesture::LLViewerGesture() |
57 | : LLGesture() | 58 | : LLGesture() |