Makes Auto-accepted quests show up the way they should. They should work perfectly again now.

--HG--
branch : trunk
This commit is contained in:
Liberate
2010-07-28 13:47:32 +02:00
parent 78c3db174c
commit f5e3943e54
4 changed files with 5 additions and 3 deletions
@@ -246,7 +246,7 @@ void WorldSession::HandleQuestgiverQueryQuestOpcode(WorldPacket & recv_data)
Quest const* pQuest = objmgr.GetQuestTemplate(quest);
if (pQuest)
{
if (pQuest->HasFlag(QUEST_TRINITY_FLAGS_AUTO_ACCEPT) && _player->CanAddQuest(pQuest, true))
if (pQuest->IsAutoAccept() && _player->CanAddQuest(pQuest, true))
{
_player->AddQuest(pQuest, pObject);
if (_player->CanCompleteQuest(quest))