aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudeffectbeam.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:48 -0500
committerJacek Antonelli2008-08-15 23:44:48 -0500
commit9b4f54c826ffa4f94efa866068c9d6ecdfb4b424 (patch)
tree2f8ae193ab487088962e628f1ee9dee2f5901f01 /linden/indra/newview/llhudeffectbeam.cpp
parentSecond Life viewer sources 1.13.2.12 (diff)
downloadmeta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.zip
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.gz
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.bz2
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.xz
Second Life viewer sources 1.13.2.15
Diffstat (limited to 'linden/indra/newview/llhudeffectbeam.cpp')
-rw-r--r--linden/indra/newview/llhudeffectbeam.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llhudeffectbeam.cpp b/linden/indra/newview/llhudeffectbeam.cpp
index a7e7a5e..db24875 100644
--- a/linden/indra/newview/llhudeffectbeam.cpp
+++ b/linden/indra/newview/llhudeffectbeam.cpp
@@ -369,9 +369,9 @@ void LLHUDEffectBeam::setupParticle(const S32 i)
369 // Generate a random offset for the target point. 369 // Generate a random offset for the target point.
370 const F32 SCALE = 0.5f; 370 const F32 SCALE = 0.5f;
371 F32 x, y, z; 371 F32 x, y, z;
372 x = frand(SCALE) - 0.5f*SCALE; 372 x = ll_frand(SCALE) - 0.5f*SCALE;
373 y = frand(SCALE) - 0.5f*SCALE; 373 y = ll_frand(SCALE) - 0.5f*SCALE;
374 z = frand(SCALE) - 0.5f*SCALE; 374 z = ll_frand(SCALE) - 0.5f*SCALE;
375 375
376 LLVector3d target_pos_global(mTargetPos); 376 LLVector3d target_pos_global(mTargetPos);
377 target_pos_global += LLVector3d(x, y, z); 377 target_pos_global += LLVector3d(x, y, z);