Browse Source

Update inv.h

pull/7662/head
Eric Robinson 1 year ago
parent
commit
24e53bc883
  1. 3
      Source/inv.h

3
Source/inv.h

@ -395,9 +395,6 @@ inline bool RemoveInventoryOrBeltItemById(Player &player, _item_indexes id)
*/
inline void SetSpectralUsable(Player &player)
{
if (player.InvList->isEmpty())
return;
for (Item &item : player.InvList) {
if (item.IDidx == IDI_SPECELIX) {
item._iCreateInfo |= CF_ONLYGOOD; // Set the unused flag to mark as permanently usable

Loading…
Cancel
Save