*Disable QuestGiver npcflag if creature in escort

--HG--
branch : trunk
This commit is contained in:
Blaymoira
2009-02-08 12:55:27 +01:00
parent ef390526e2
commit 0058e7c20a
@@ -75,6 +75,7 @@ void npc_escortAI::JustRespawned()
//Re-Enable gossip
m_creature->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
m_creature->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);
Reset();
}
@@ -299,4 +300,5 @@ void npc_escortAI::Start(bool bAttack, bool bDefend, bool bRun, uint64 pGUID)
//Disable gossip
m_creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
m_creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);
}