From c189fc0b579352c34285fcf03db4b5bca5cd3804 Mon Sep 17 00:00:00 2001 From: Aaron Brashears Date: Thu, 18 Jan 2007 00:44:48 +0000 Subject: Result of svn merge -r56700:56797 svn+ssh://svn/svn/linden/branches/more-random into release. --- indra/newview/llhudeffectbeam.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/newview/llhudeffectbeam.cpp') 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); -- cgit v1.3