mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Learn preview talents fix
This commit is contained in:
parent
49322fa20a
commit
329b06d1e3
6 changed files with 139 additions and 35 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue