Whack questgivers in the head with a bat to make them properly show ! or ? properly depending on the questtype they hand out

Patch by Liberate

--HG--
branch : trunk
This commit is contained in:
click
2010-04-17 17:59:19 +02:00
parent 6e0fa4b39e
commit cc2db574f1
4 changed files with 8 additions and 4 deletions
+4 -1
View File
@@ -246,7 +246,10 @@ void WorldSession::HandleQuestgiverQueryQuestOpcode(WorldPacket & recv_data)
Quest const* pQuest = objmgr.GetQuestTemplate(quest);
if (pQuest)
{
_player->PlayerTalkClass->SendQuestGiverQuestDetails(pQuest, pObject->GetGUID(), true);
if (pQuest->GetFlags() & QUEST_FLAGS_AUTOCOMPLETE)
_player->PlayerTalkClass->SendQuestGiverRequestItems(pQuest, pObject->GetGUID(), _player->CanCompleteQuest(pQuest->GetQuestId()), true);
else
_player->PlayerTalkClass->SendQuestGiverQuestDetails(pQuest, pObject->GetGUID(), true);
}
}