Core/Player: Keep shared quests through map changes instead of getting stuck in busy state

This commit is contained in:
Aokromes committed 2017-06-15 07:40:14 +02:00
1 parent 288aca3d15
commit 29cbbc50d3
4 files changed
+37 -26

No files matched your search

@@ -23222,6 +23222,14 @@ void Player::SendInitialPacketsAfterAddToMap()
}
else if (GetRaidDifficulty() != GetStoredRaidDifficulty())
SendRaidDifficulty(GetGroup() != NULL);
if (GetPlayerSharingQuest())
{
if (Quest const* quest = sObjectMgr->GetQuestTemplate(GetSharedQuestID()))
PlayerTalkClass->SendQuestGiverQuestDetails(quest, GetGUID(), true);
else
ClearQuestSharingInfo();
}
}
void Player::SendUpdateToOutOfRangeGroupMembers()