diff options
-rw-r--r-- | src/bindings/scripts/base/follower_ai.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/scripts/base/follower_ai.cpp b/src/bindings/scripts/base/follower_ai.cpp index 644b6194545..5ef5dcef17a 100644 --- a/src/bindings/scripts/base/follower_ai.cpp +++ b/src/bindings/scripts/base/follower_ai.cpp @@ -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()); } } } |