diff --git a/Source/items.cpp b/Source/items.cpp index 702a20ed7..9f44aec7b 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -2172,6 +2172,9 @@ void SpawnUnique(int uid, int x, int y) { int ii, itype; +#ifdef HELLFIRE + int curlv = items_get_currlevel(); +#endif if (numitems >= MAXITEMS) return; @@ -2185,7 +2188,11 @@ void SpawnUnique(int uid, int x, int y) itype++; } +#ifdef HELLFIRE + GetItemAttrs(ii, itype, curlv); +#else GetItemAttrs(ii, itype, currlevel); +#endif GetUniqueItem(ii, uid); SetupItem(ii); numitems++;