Changeset 3201

Show
Ignore:
Timestamp:
03/08/2010 09:08:55 AM (6 months ago)
Author:
Dfighter
Message:

FIXED: Insanely complicated and long code part that makes pets and summons unskinnable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/arcemu-world/Creature.cpp

    r3194 r3201  
    690690                        m_currentSpell->cancel(); 
    691691 
    692                 if ( lootmgr.IsSkinnable(GetEntry())) 
     692                // if it's not a Pet, and not a summon and it has skinningloot then we will allow skinning 
     693                if ( !IsPet() && m_owner == NULL && lootmgr.IsSkinnable(GetEntry())) 
    693694                        SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE); 
    694695