diff options
author | Jacek Antonelli | 2009-01-13 00:19:34 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-01-13 00:19:34 -0600 |
commit | 106b2a600c59404ef6bb95b77f8bbf271b659baa (patch) | |
tree | 4f9394f0ca34003347de3dffff40efd8a3a43c6c /linden/indra/newview/llviewermessage.cpp | |
parent | Merge 1.1.0 alpha into quickfilter (diff) | |
parent | Merge commit 'mccabe/1.1.0a-gstreamer' into 1.1.0a (diff) | |
download | meta-impy-106b2a600c59404ef6bb95b77f8bbf271b659baa.zip meta-impy-106b2a600c59404ef6bb95b77f8bbf271b659baa.tar.gz meta-impy-106b2a600c59404ef6bb95b77f8bbf271b659baa.tar.bz2 meta-impy-106b2a600c59404ef6bb95b77f8bbf271b659baa.tar.xz |
Merge branch '1.1.0a-gstreamer' into next
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r-- | linden/indra/newview/llviewermessage.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 0e39026..28ca198 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -833,9 +833,9 @@ void open_offer(const std::vector<LLUUID>& items, const std::string& from_name) | |||
833 | //if we are throttled, don't display them - Gigs | 833 | //if we are throttled, don't display them - Gigs |
834 | if (check_offer_throttle(from_name, false)) | 834 | if (check_offer_throttle(from_name, false)) |
835 | { | 835 | { |
836 | // I'm not sure this is a good idea. JC | 836 | // I'm not sure this is a good idea. JC - Definitely a bad idea. HB |
837 | bool show_keep_discard = item->getPermissions().getCreator() != gAgent.getID(); | 837 | //bool show_keep_discard = item->getPermissions().getCreator() != gAgent.getID(); |
838 | //bool show_keep_discard = true; | 838 | bool show_keep_discard = true; |
839 | switch(asset_type) | 839 | switch(asset_type) |
840 | { | 840 | { |
841 | case LLAssetType::AT_NOTECARD: | 841 | case LLAssetType::AT_NOTECARD: |
@@ -3308,8 +3308,7 @@ void process_sound_trigger(LLMessageSystem *msg, void **) | |||
3308 | return; | 3308 | return; |
3309 | } | 3309 | } |
3310 | 3310 | ||
3311 | F32 volume = gSavedSettings.getBOOL("MuteSounds") ? 0.f : (gain * gSavedSettings.getF32("AudioLevelSFX")); | 3311 | gAudiop->triggerSound(sound_id, owner_id, gain, LLAudioEngine::AUDIO_TYPE_SFX, pos_global); |
3312 | gAudiop->triggerSound(sound_id, owner_id, volume, pos_global); | ||
3313 | } | 3312 | } |
3314 | 3313 | ||
3315 | void process_preload_sound(LLMessageSystem *msg, void **user_data) | 3314 | void process_preload_sound(LLMessageSystem *msg, void **user_data) |