diff options
Diffstat (limited to 'indra/newview/llhudeffectbeam.cpp')
-rw-r--r-- | indra/newview/llhudeffectbeam.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llhudeffectbeam.cpp b/indra/newview/llhudeffectbeam.cpp index 069986eb77..2b9b07a9e3 100644 --- a/indra/newview/llhudeffectbeam.cpp +++ b/indra/newview/llhudeffectbeam.cpp @@ -350,9 +350,9 @@ void LLHUDEffectBeam::setupParticle(const S32 i) // Generate a random offset for the target point. const F32 SCALE = 0.5f; F32 x, y, z; - x = frand(SCALE) - 0.5f*SCALE; - y = frand(SCALE) - 0.5f*SCALE; - z = frand(SCALE) - 0.5f*SCALE; + x = ll_frand(SCALE) - 0.5f*SCALE; + y = ll_frand(SCALE) - 0.5f*SCALE; + z = ll_frand(SCALE) - 0.5f*SCALE; LLVector3d target_pos_global(mTargetPos); target_pos_global += LLVector3d(x, y, z); |