aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-20 19:59:43 -0600
committermegamage <none@none>2009-01-20 19:59:43 -0600
commit68c0bcd06980cbc5babc842d990d1b8eb564e388 (patch)
tree0dbed1b4453a0361cecd2608325107902696ab22 /src/game/Creature.cpp
parent1bbd8968615e4b89fe4549bd1cccd089f6ad38f0 (diff)
*Update to Mangos 7125.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp4
1 files changed, 1 insertions, 3 deletions
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;