aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:23 -0500
committerJacek Antonelli2008-08-15 23:45:23 -0500
commit486c4774ab4a707d69c1b48cdc048af1369084db (patch)
tree2a206a7e32a9a7efb98d585798a9fa18baeaf171 /linden/indra/newview/llvoavatar.cpp
parentSecond Life viewer sources 1.18.6.1-RC (diff)
downloadmeta-impy-486c4774ab4a707d69c1b48cdc048af1369084db.zip
meta-impy-486c4774ab4a707d69c1b48cdc048af1369084db.tar.gz
meta-impy-486c4774ab4a707d69c1b48cdc048af1369084db.tar.bz2
meta-impy-486c4774ab4a707d69c1b48cdc048af1369084db.tar.xz
Second Life viewer sources 1.18.6.2-RC
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);