mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 04:37:16 +00:00
Merge
This commit is contained in:
commit
2aa287fe3c
124 files changed
+63220
-2537
No files matched your search
@@ -1515,7 +1515,7 @@ XS(XS__ChooseRandom)
|
||||
if (items < 1)
|
||||
Perl_croak(aTHX_ "Usage: ChooseRandom(... list ...)");
|
||||
|
||||
int index = MakeRandomInt(0, items-1);
|
||||
int index = zone->random.Int(0, items-1);
|
||||
|
||||
SV *tmp = ST(0);
|
||||
ST(0) = ST(index);
|
||||
|
||||
Reference in new issue
Block a user