aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudeffectbeam.cpp
diff options
context:
space:
mode:
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);