aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llvoavatar.cpp')
-rw-r--r--linden/indra/newview/llvoavatar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp
index 7a225c8..84f82dc 100644
--- a/linden/indra/newview/llvoavatar.cpp
+++ b/linden/indra/newview/llvoavatar.cpp
@@ -3412,7 +3412,8 @@ void LLVOAvatar::updateCharacter(LLAgent &agent)
3412// AUDIO_STEP_LO_SPEED, AUDIO_STEP_HI_SPEED, 3412// AUDIO_STEP_LO_SPEED, AUDIO_STEP_HI_SPEED,
3413// AUDIO_STEP_LO_GAIN, AUDIO_STEP_HI_GAIN ); 3413// AUDIO_STEP_LO_GAIN, AUDIO_STEP_HI_GAIN );
3414 3414
3415 F32 gain = .30f * gSavedSettings.getF32("AudioLevelAmbient"); 3415 F32 ambient_volume = gSavedSettings.getF32("AudioLevelAmbient");
3416 F32 gain = .50f * ambient_volume * ambient_volume;
3416 LLUUID& step_sound_id = getStepSound(); 3417 LLUUID& step_sound_id = getStepSound();
3417 3418
3418 LLVector3d foot_pos_global = gAgent.getPosGlobalFromAgent(foot_pos_agent); 3419 LLVector3d foot_pos_global = gAgent.getPosGlobalFromAgent(foot_pos_agent);