From 68c0bcd06980cbc5babc842d990d1b8eb564e388 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 20 Jan 2009 19:59:43 -0600 Subject: *Update to Mangos 7125. --HG-- branch : trunk --- src/game/Creature.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/game/Creature.cpp') diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index ecb16ce9521..7ce5de97297 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -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; -- cgit v1.2.3