Core/Gossips: Fixed questgiver GOs that also have gossip menus, fixed gossip option selecting on GOs

Signed-off-by: Subv2112 <[email protected]>
This commit is contained in:
Subv2112
2012-01-09 09:29:45 -05:00
parent 7101e9626c
commit d02c781241
2 changed files with 6 additions and 6 deletions
@@ -160,7 +160,8 @@ void WorldSession::HandleGossipSelectOptionOpcode(WorldPacket & recv_data)
else
{
go->AI()->GossipSelect(_player, menuId, gossipListId);
sScriptMgr->OnGossipSelect(_player, go, _player->PlayerTalkClass->GetGossipOptionSender(gossipListId), _player->PlayerTalkClass->GetGossipOptionAction(gossipListId));
if (!sScriptMgr->OnGossipSelect(_player, go, _player->PlayerTalkClass->GetGossipOptionSender(gossipListId), _player->PlayerTalkClass->GetGossipOptionAction(gossipListId)))
_player->OnGossipSelect(go, gossipListId, menuId);
}
}
}