*Remove Not attackable flags on escortAI start

--HG--
branch : trunk
This commit is contained in:
Blaymoira
2009-02-13 23:50:04 +01:00
parent 5f6705535b
commit ffb5fb7445
2 changed files with 11 additions and 2 deletions
@@ -299,4 +299,5 @@ void npc_escortAI::Start(bool bAttack, bool bDefend, bool bRun, uint64 pGUID)
//Disable questgiver flag
m_creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);
m_creature->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE + UNIT_FLAG_NOT_ATTACKABLE_2);
}