Skip to content
Snippets Groups Projects
Commit 7ef905e6 authored by rswindell's avatar rswindell
Browse files

Use xp_random() instead of sbbs_random() - fix for building makeuser (doesn't

link with sbbs.dll).
parent 11ba89f0
Branches
Tags
No related merge requests found
......@@ -1472,7 +1472,7 @@ static BOOL ar_exp(scfg_t* cfg, uchar **ptrptr, user_t* user)
(*ptrptr)++;
break;
case AR_RANDOM:
n=sbbs_random(i+1);
n=xp_random(i+1);
if((equal && n!=i) || (!equal && n<i))
result=not;
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment