fix. Allow the player to skin the creature (#28)

This commit is contained in:
Walter Pagani
2024-02-25 01:44:16 -03:00
committed by GitHub
parent 3744bb6b3b
commit 8b197baa3b

View File

@@ -117,11 +117,6 @@ public:
_creature->AllLootRemovedFromCorpse(); _creature->AllLootRemovedFromCorpse();
_creature->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE); _creature->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);
loot->clear(); loot->clear();
if (_creature->HasUnitFlag(UNIT_FLAG_SKINNABLE))
{
_creature->RemoveUnitFlag(UNIT_FLAG_SKINNABLE);
}
} }
} }
else else