diff options
author | win32 <none@none> | 2009-12-20 13:35:08 +0200 |
---|---|---|
committer | win32 <none@none> | 2009-12-20 13:35:08 +0200 |
commit | 7c9f6b4bc37eec7b94aaba1cd8912bd5c0054e2a (patch) | |
tree | 6dde39dad95c2ce3d688890082cd66d66abb878e /src/game/NPCHandler.cpp | |
parent | 31c6b10a192671562f38f17f9e6270979ebe417c (diff) |
Merge MaNGOS, Gossip System. Autor NoFantasy.
* DB support required
* Closes #859
--HG--
branch : trunk
Diffstat (limited to 'src/game/NPCHandler.cpp')
-rw-r--r-- | src/game/NPCHandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/NPCHandler.cpp b/src/game/NPCHandler.cpp index 15201f86dd3..e323251c55c 100644 --- a/src/game/NPCHandler.cpp +++ b/src/game/NPCHandler.cpp @@ -291,11 +291,11 @@ void WorldSession::HandleGossipHelloOpcode( WorldPacket & recv_data ) } } - if(!Script->GossipHello( _player, unit )) + if(!Script->GossipHello(_player, unit)) { - _player->TalkedToCreature(unit->GetEntry(),unit->GetGUID()); - unit->prepareGossipMenu(_player); - unit->sendPreparedGossip(_player); + _player->TalkedToCreature(unit->GetEntry(), unit->GetGUID()); + _player->PrepareGossipMenu(unit, unit->GetCreatureInfo()->GossipMenuId); + _player->SendPreparedGossip(unit); } } |