[7268] Fix show 0-level quests in gossip quest list. Author: NoFantasy

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-13 19:54:31 -06:00
parent 8ad58b4bcc
commit f2c663a363
2 changed files with 2 additions and 2 deletions

View File

@@ -373,7 +373,7 @@ void PlayerMenu::SendQuestGiverQuestList( QEmote eEmote, const std::string& Titl
data << uint32(questID);
data << uint32(qmi.m_qIcon);
data << uint32(pQuest ? pQuest->GetQuestLevel() : 0);
data << uint32(pQuest && pQuest->GetQuestLevel() ? pQuest->GetQuestLevel() : pSession->GetPlayer()->getLevel());
data << title;
}
pSession->SendPacket( &data );

View File

@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7267"
#define REVISION_NR "7268"
#endif // __REVISION_NR_H__