*Update to Mangos 7125.
--HG-- branch : trunk
This commit is contained in:
@@ -910,13 +910,11 @@ void Creature::sendPreparedGossip(Player* player)
|
||||
if(!player)
|
||||
return;
|
||||
|
||||
GossipMenu& gossipmenu = player->PlayerTalkClass->GetGossipMenu();
|
||||
|
||||
if(GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_WORLDEVENT) // if world event npc then
|
||||
gameeventmgr.HandleWorldEventGossip(player, this); // update world state with progress
|
||||
|
||||
// in case empty gossip menu open quest menu if any
|
||||
if (gossipmenu.Empty() && GetNpcTextId() == 0)
|
||||
if (player->PlayerTalkClass->GetGossipMenu().Empty() && !player->PlayerTalkClass->GetQuestMenu().Empty())
|
||||
{
|
||||
player->SendPreparedQuest(GetGUID());
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user