mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
onOutfitChange fix
This commit is contained in:
@@ -631,7 +631,7 @@ void Creature::setDirection(Otc::Direction direction)
|
||||
|
||||
void Creature::setOutfit(const Outfit& outfit)
|
||||
{
|
||||
Outfit oldOutfit = outfit;
|
||||
Outfit oldOutfit = m_outfit;
|
||||
if(outfit.getCategory() != ThingCategoryCreature) {
|
||||
if(!g_things.isValidDatId(outfit.getAuxId(), outfit.getCategory()))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user