Learn preview talents fix

This commit is contained in:
tomrus88 2009-03-05 14:44:40 +03:00
parent 49322fa20a
commit 329b06d1e3
6 changed files with 139 additions and 35 deletions

View file

@ -41,7 +41,7 @@ void WorldSession::HandleLearnTalentOpcode( WorldPacket & recv_data )
void WorldSession::HandleLearnPreviewTalents(WorldPacket& recvPacket)
{
sLog.outDebug("CMSG_UNKNOWN_1217");
sLog.outDebug("CMSG_LEARN_PREVIEW_TALENTS");
CHECK_PACKET_SIZE(recvPacket, 4);
@ -56,7 +56,7 @@ void WorldSession::HandleLearnPreviewTalents(WorldPacket& recvPacket)
recvPacket >> talentId >> talentRank;
_player->LearnTalent(talentId, talentRank);
_player->LearnTalent(talentId, talentRank, true);
}
_player->SendTalentsInfoData(false);