mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7278] In case gossip flag use gossip menu instead quest menu as client expected.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
d9c74376b3
commit
3b4402b88b
2 changed files with 3 additions and 3 deletions
|
|
@ -812,8 +812,8 @@ void Creature::sendPreparedGossip(Player* player)
|
|||
if(!player)
|
||||
return;
|
||||
|
||||
// in case empty gossip menu open quest menu if any
|
||||
if (player->PlayerTalkClass->GetGossipMenu().Empty() && !player->PlayerTalkClass->GetQuestMenu().Empty())
|
||||
// in case no gossip flag and quest menu not empty, open quest menu (client expect gossip menu with this flag)
|
||||
if (!HasFlag(UNIT_NPC_FLAGS,UNIT_NPC_FLAG_GOSSIP) && !player->PlayerTalkClass->GetQuestMenu().Empty())
|
||||
{
|
||||
player->SendPreparedQuest(GetGUID());
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7277"
|
||||
#define REVISION_NR "7278"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue