Fixed player name response (chat now working)

This commit is contained in:
tomrus88 2009-03-03 12:38:16 +03:00
parent 8f1edbf513
commit 2197da6407
11 changed files with 80 additions and 46 deletions

View file

@ -36,7 +36,7 @@ void WorldSession::HandleLearnTalentOpcode( WorldPacket & recv_data )
recv_data >> talent_id >> requested_rank;
_player->LearnTalent(talent_id, requested_rank);
_player->SendTalentInfoData(false);
_player->SendTalentsInfoData(false);
}
void WorldSession::HandleLearnPreviewTalents(WorldPacket& recvPacket)
@ -59,7 +59,7 @@ void WorldSession::HandleLearnPreviewTalents(WorldPacket& recvPacket)
_player->LearnTalent(talentId, talentRank);
}
_player->SendTalentInfoData(false);
_player->SendTalentsInfoData(false);
}
void WorldSession::HandleTalentWipeOpcode( WorldPacket & recv_data )
@ -90,6 +90,7 @@ void WorldSession::HandleTalentWipeOpcode( WorldPacket & recv_data )
return;
}
_player->SendTalentsInfoData(false);
unit->CastSpell(_player, 14867, true); //spell: "Untalent Visual Effect"
}