Browse Source

Clean up GetItemPower

Thanks @tsunamistate for bringing attention to this
pull/700/head^2
Anders Jenbo 6 years ago
parent
commit
fe82c0b1f1
  1. 2
      Source/items.cpp

2
Source/items.cpp

@ -1694,7 +1694,7 @@ void GetItemPower(int i, int minlvl, int maxlvl, int flgs, BOOL onlygood)
}
}
}
if (nl != 0) {
if (nt != 0) {
preidx = l[random_(23, nt)];
sprintf(istr, "%s %s", PL_Prefix[preidx].PLName, item[i]._iIName);
strcpy(item[i]._iIName, istr);

Loading…
Cancel
Save