diff --git a/Source/items.cpp b/Source/items.cpp index 230da0427..8b64bffc5 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -2078,8 +2078,13 @@ void SetupAllItems(int ii, int idx, int iseed, int lvl, int uper, int onlygood, if (item[ii]._iMagical != ITEM_QUALITY_UNIQUE) ItemRndDur(ii); } else { - if (item[ii]._iLoc != ILOC_UNEQUIPABLE) - GetUniqueItem(ii, iseed); + if (item[ii]._iLoc != ILOC_UNEQUIPABLE) { + //uid = CheckUnique(ii, iblvl, uper, recreate); + //if (uid != UITYPE_INVALID) { + // GetUniqueItem(ii, uid); + //} + GetUniqueItem(ii, iseed); // BUG: the second argument to GetUniqueItem should be uid. + } } SetupItem(ii); }