Skip to content

Commit

Permalink
Update inv.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Jan 17, 2025
1 parent 52b3ace commit 24e53bc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Source/inv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24e53bc

Please sign in to comment.