diff options
author | megamage <none@none> | 2009-02-13 19:54:31 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-13 19:54:31 -0600 |
commit | f2c663a363966eeb49b0a69cf3e482af891e4d1d (patch) | |
tree | c9fb95bc48d5b1d0808b87a0e0e0a230ce9392b3 /src | |
parent | 8ad58b4bcc24b71049f3831700ec48a5f4e01965 (diff) |
[7268] Fix show 0-level quests in gossip quest list. Author: NoFantasy
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/GossipDef.cpp | 2 | ||||
-rw-r--r-- | src/shared/revision_nr.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/GossipDef.cpp b/src/game/GossipDef.cpp index f8b1ac04f99..ade180dfea0 100644 --- a/src/game/GossipDef.cpp +++ b/src/game/GossipDef.cpp @@ -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 ); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ec08713e951..b72e2c24d97 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7267" + #define REVISION_NR "7268" #endif // __REVISION_NR_H__ |