diff options
Diffstat (limited to 'linden/indra/llcommon/llptrskipmap.h')
-rw-r--r-- | linden/indra/llcommon/llptrskipmap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llcommon/llptrskipmap.h b/linden/indra/llcommon/llptrskipmap.h index d4e4de3..c4e131f 100644 --- a/linden/indra/llcommon/llptrskipmap.h +++ b/linden/indra/llcommon/llptrskipmap.h | |||
@@ -343,7 +343,7 @@ inline DATA_T &LLPtrSkipMap<INDEX_T, DATA_T, BINARY_DEPTH>::addData(const INDEX_ | |||
343 | S32 newlevel; | 343 | S32 newlevel; |
344 | for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) | 344 | for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) |
345 | { | 345 | { |
346 | if (frand(1.f) < 0.5f) | 346 | if (ll_frand() < 0.5f) |
347 | { | 347 | { |
348 | break; | 348 | break; |
349 | } | 349 | } |
@@ -411,7 +411,7 @@ inline DATA_T &LLPtrSkipMap<INDEX_T, DATA_T, BINARY_DEPTH>::addData(const INDEX_ | |||
411 | S32 newlevel; | 411 | S32 newlevel; |
412 | for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) | 412 | for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) |
413 | { | 413 | { |
414 | if (frand(1.f) < 0.5f) | 414 | if (ll_frand() < 0.5f) |
415 | break; | 415 | break; |
416 | } | 416 | } |
417 | 417 | ||
@@ -489,7 +489,7 @@ inline DATA_T &LLPtrSkipMap<INDEX_T, DATA_T, BINARY_DEPTH>::getData(const INDEX_ | |||
489 | S32 newlevel; | 489 | S32 newlevel; |
490 | for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) | 490 | for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) |
491 | { | 491 | { |
492 | if (frand(1.f) < 0.5f) | 492 | if (ll_frand() < 0.5f) |
493 | break; | 493 | break; |
494 | } | 494 | } |
495 | 495 | ||