onOutfitChange fix
This commit is contained in:
parent
4f9f04206d
commit
c98439ae65
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue