Skip to content

Commit

Permalink
fix. Allow the player to skin the creature (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
pangolp authored Feb 25, 2024
1 parent 3744bb6 commit 8b197ba
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/AoeLoot_SC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ class AoeLoot_Player : public PlayerScript
_creature->AllLootRemovedFromCorpse();
_creature->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);
loot->clear();

if (_creature->HasUnitFlag(UNIT_FLAG_SKINNABLE))
{
_creature->RemoveUnitFlag(UNIT_FLAG_SKINNABLE);
}
}
}
else
Expand Down

2 comments on commit 8b197ba

@kamila231993
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not working properly yet

@pangolp
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not working properly yet

Keep investigating. Either way, that line should be removed. It doesn't make sense for this. The reason must be something else, so I'm checking what it could be.

Please sign in to comment.