Browse Source

Merge pull request #1610 from qndel/RndBoyItem

[hellfire] RndBoyItem bin exact
pull/876/head
Robin Eklind 7 years ago committed by GitHub
parent
commit
7d7bcb5892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Source/items.cpp

4
Source/items.cpp

@ -3855,7 +3855,11 @@ int RndBoyItem(int lvl)
ri = 0;
for (i = 1; AllItemsList[i].iLoc != ILOC_INVALID; i++) {
#ifdef HELLFIRE
if (AllItemsList[i].iRnd && PremiumItemOk(i) && lvl >= AllItemsList[i].iMinMLvl && ri < 512) {
#else
if (AllItemsList[i].iRnd && PremiumItemOk(i) && lvl >= AllItemsList[i].iMinMLvl) {
#endif
ril[ri] = i;
ri++;
}

Loading…
Cancel
Save