last fix for Deaths Challange is by Nevan.

Merge [SD2]
r1345 Check for valid quest before use in followerAI

--HG--
branch : trunk
This commit is contained in:
Kudlaty
2009-08-20 01:48:44 +02:00
parent 9ca8348bf8
commit fc3717d7e3

View File

@@ -90,7 +90,7 @@ void FollowerAI::MoveInLineOfSight(Unit* pWho)
void FollowerAI::JustDied(Unit* pKiller)
{
if (!m_bIsFollowing || !m_uiLeaderGUID)
if (!m_bIsFollowing || !m_uiLeaderGUID || !m_pQuestForFollow)
return;
//TODO: need a better check for quests with time limit.