diff options
author | Rat <none@none> | 2010-05-03 09:31:25 +0200 |
---|---|---|
committer | Rat <none@none> | 2010-05-03 09:31:25 +0200 |
commit | f9ebcce8f6b380bfce6d3fed9a43d6aef22d1bdc (patch) | |
tree | 9c3526754fcebcac0b575886c91388cc0e0d88e5 /src | |
parent | 0692dc3704e1471e2934ca41f32caa9bb0a58be2 (diff) |
*fixed quest support for hunter pet trainers
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/scripts/world/npcs_special.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scripts/world/npcs_special.cpp b/src/scripts/world/npcs_special.cpp index d3efe0a48c3..c9b48cb293e 100644 --- a/src/scripts/world/npcs_special.cpp +++ b/src/scripts/world/npcs_special.cpp @@ -2077,6 +2077,9 @@ enum ePetTrainer bool GossipHello_npc_pet_trainer(Player* pPlayer, Creature* pCreature) { + if (pCreature->isQuestGiver()) + pPlayer->PrepareQuestMenu(pCreature->GetGUID()); + if (pPlayer->getClass() == CLASS_HUNTER) { pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_PET1, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1); |