mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user