*Do not consider possessed creatures as pet. Also fix the bug that possessed creature does not display spells.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-25 22:52:08 -05:00
parent 320ac7f91e
commit d971d0121f
11 changed files with 86 additions and 56 deletions

View File

@@ -51,9 +51,6 @@ m_declinedname(NULL), m_owner(owner)
m_regenTimer = 4000;
owner->SetPetAtLoginFlag(0);
if(type == POSSESSED_PET) // always passive
SetReactState(REACT_PASSIVE);
}
Pet::~Pet()