diff --git a/Source/items.cpp b/Source/items.cpp index e69020502..70feda585 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -2565,6 +2565,9 @@ void SpawnRock() ii = objectactive[i]; ostand = object[ii]._otype == OBJ_STAND; } +#ifdef HELLFIRE + int curlv = items_get_currlevel(); +#endif if (ostand) { i = itemavail[0]; itemavail[0] = itemavail[127 - numitems - 1]; @@ -2574,7 +2577,11 @@ void SpawnRock() item[i]._ix = xx; item[i]._iy = yy; dItem[xx][item[i]._iy] = i + 1; +#ifdef HELLFIRE + GetItemAttrs(i, IDI_ROCK, curlv); +#else GetItemAttrs(i, IDI_ROCK, currlevel); +#endif SetupItem(i); item[i]._iSelFlag = 2; item[i]._iPostDraw = TRUE;