diff options
Diffstat (limited to 'linden/indra/newview/llcloud.cpp')
-rw-r--r-- | linden/indra/newview/llcloud.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llcloud.cpp b/linden/indra/newview/llcloud.cpp index e1b2281..ca05562 100644 --- a/linden/indra/newview/llcloud.cpp +++ b/linden/indra/newview/llcloud.cpp | |||
@@ -193,9 +193,9 @@ void LLCloudGroup::updatePuffCount() | |||
193 | for (i = current_puff_count; i < target_puff_count; i++) | 193 | for (i = current_puff_count; i < target_puff_count; i++) |
194 | { | 194 | { |
195 | puff_pos_global = mVOCloudsp->getPositionGlobal(); | 195 | puff_pos_global = mVOCloudsp->getPositionGlobal(); |
196 | F32 x = frand(256.f/CLOUD_GROUPS_PER_EDGE) - 128.f/CLOUD_GROUPS_PER_EDGE; | 196 | F32 x = ll_frand(256.f/CLOUD_GROUPS_PER_EDGE) - 128.f/CLOUD_GROUPS_PER_EDGE; |
197 | F32 y = frand(256.f/CLOUD_GROUPS_PER_EDGE) - 128.f/CLOUD_GROUPS_PER_EDGE; | 197 | F32 y = ll_frand(256.f/CLOUD_GROUPS_PER_EDGE) - 128.f/CLOUD_GROUPS_PER_EDGE; |
198 | F32 z = frand(CLOUD_HEIGHT_RANGE) - 0.5f*CLOUD_HEIGHT_RANGE; | 198 | F32 z = ll_frand(CLOUD_HEIGHT_RANGE) - 0.5f*CLOUD_HEIGHT_RANGE; |
199 | puff_pos_global += LLVector3d(x, y, z); | 199 | puff_pos_global += LLVector3d(x, y, z); |
200 | mCloudPuffs[i].mPositionGlobal = puff_pos_global; | 200 | mCloudPuffs[i].mPositionGlobal = puff_pos_global; |
201 | mCloudPuffs[i].mAlpha = 0.01f; | 201 | mCloudPuffs[i].mAlpha = 0.01f; |