summaryrefslogtreecommitdiff
path: root/indra/llcommon/llskiplist.h
diff options
context:
space:
mode:
authorAaron Brashears <aaronb@lindenlab.com>2007-01-18 00:44:48 +0000
committerAaron Brashears <aaronb@lindenlab.com>2007-01-18 00:44:48 +0000
commitc189fc0b579352c34285fcf03db4b5bca5cd3804 (patch)
treeba32536c8bf3b23f311e7ae77aa69f9cbaec4582 /indra/llcommon/llskiplist.h
parent73f0b5029aa247a563862fc39152ce58baa407aa (diff)
Result of svn merge -r56700:56797 svn+ssh://svn/svn/linden/branches/more-random into release.
Diffstat (limited to 'indra/llcommon/llskiplist.h')
-rw-r--r--indra/llcommon/llskiplist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llskiplist.h b/indra/llcommon/llskiplist.h
index a86eb05d46..ed1aa1f0aa 100644
--- a/indra/llcommon/llskiplist.h
+++ b/indra/llcommon/llskiplist.h
@@ -223,7 +223,7 @@ inline BOOL LLSkipList<DATA_TYPE, BINARY_DEPTH>::addData(const DATA_TYPE& data)
S32 newlevel;
for (newlevel = 1; newlevel <= mLevel && newlevel < BINARY_DEPTH; newlevel++)
{
- if (frand(1.f) < 0.5f)
+ if (ll_frand() < 0.5f)
break;
}