aboutsummaryrefslogtreecommitdiff
path: root/src/game/NPCHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/NPCHandler.cpp')
-rw-r--r--src/game/NPCHandler.cpp8
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);
}
}