Browse Source

[hellfire] SpawnUnique bin exact

pull/876/head
qndel 7 years ago committed by Anders Jenbo
parent
commit
8a18b771dd
  1. 7
      Source/items.cpp

7
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++;

Loading…
Cancel
Save