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/llcommon/llptrskipmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/llcommon/llptrskipmap.h') diff --git a/indra/llcommon/llptrskipmap.h b/indra/llcommon/llptrskipmap.h index 63668c34fe..e99ea95263 100644 --- a/indra/llcommon/llptrskipmap.h +++ b/indra/llcommon/llptrskipmap.h @@ -324,7 +324,7 @@ inline DATA_T &LLPtrSkipMap::addData(const INDEX_ S32 newlevel; for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) { - if (frand(1.f) < 0.5f) + if (ll_frand() < 0.5f) { break; } @@ -392,7 +392,7 @@ inline DATA_T &LLPtrSkipMap::addData(const INDEX_ S32 newlevel; for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) { - if (frand(1.f) < 0.5f) + if (ll_frand() < 0.5f) break; } @@ -470,7 +470,7 @@ inline DATA_T &LLPtrSkipMap::getData(const INDEX_ S32 newlevel; for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++) { - if (frand(1.f) < 0.5f) + if (ll_frand() < 0.5f) break; } -- cgit v1.2.3