diff options
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 5a99c66d8ee..aae3890940f 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -13257,7 +13257,7 @@ void Player::SendNewItem(Item *item, uint32 count, bool received, bool created, /*** GOSSIP SYSTEM ***/ /*********************************************************/ -void Player::PrepareGossipMenu(WorldObject *pSource, uint32 menuId) +void Player::PrepareGossipMenu(WorldObject *pSource, uint32 menuId, bool showQuests) { PlayerMenu* pMenu = PlayerTalkClass; pMenu->ClearMenus(); @@ -13278,7 +13278,7 @@ void Player::PrepareGossipMenu(WorldObject *pSource, uint32 menuId) { pCreature = pSource->ToCreature(); npcflags = pCreature->GetUInt32Value(UNIT_NPC_FLAGS); - if (npcflags & UNIT_NPC_FLAG_QUESTGIVER) + if (npcflags & UNIT_NPC_FLAG_QUESTGIVER && showQuests) PrepareQuestMenu(pSource->GetGUID()); } else if (pSource->GetTypeId() == TYPEID_GAMEOBJECT) |