mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 22:37:05 +00:00
[7273] Fix show 0-level quests in gossip quest list. Another case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
1306be5c95
commit
93328cc861
2 changed files with 2 additions and 2 deletions
|
|
@ -151,7 +151,7 @@ void PlayerMenu::SendGossipMenu( uint32 TitleTextId, uint64 npcGUID )
|
||||||
|
|
||||||
data << uint32(questID);
|
data << uint32(questID);
|
||||||
data << uint32( qItem.m_qIcon );
|
data << uint32( qItem.m_qIcon );
|
||||||
data << uint32( pQuest ? pQuest->GetQuestLevel() : 0 );
|
data << uint32(pQuest && pQuest->GetQuestLevel() ? pQuest->GetQuestLevel() : pSession->GetPlayer()->getLevel());
|
||||||
std::string Title = pQuest->GetTitle();
|
std::string Title = pQuest->GetTitle();
|
||||||
|
|
||||||
int loc_idx = pSession->GetSessionDbLocaleIndex();
|
int loc_idx = pSession->GetSessionDbLocaleIndex();
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7272"
|
#define REVISION_NR "7273"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue