Fixed typo in FollowerAI.

--HG--
branch : trunk
This commit is contained in:
_manuel_
2010-01-14 03:55:18 -03:00
parent a8b4a7bc37
commit 1608a05ddb

View File

@@ -129,8 +129,8 @@ void FollowerAI::JustDied(Unit* pKiller)
{
if (Player* pMember = pRef->getSource())
{
if (pPlayer->GetQuestStatus(m_pQuestForFollow->GetQuestId()) == QUEST_STATUS_INCOMPLETE)
pPlayer->FailQuest(m_pQuestForFollow->GetQuestId());
if (pMember->GetQuestStatus(m_pQuestForFollow->GetQuestId()) == QUEST_STATUS_INCOMPLETE)
pMember->FailQuest(m_pQuestForFollow->GetQuestId());
}
}
}