mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[10443] Fixed expected packet size for SMSG_SET_PROFICIENCY
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
924cf7c46b
commit
e621af3b97
3 changed files with 5 additions and 5 deletions
|
|
@ -18049,10 +18049,10 @@ void Player::RemoveSpellMods(Spell const* spell)
|
|||
}
|
||||
|
||||
// send Proficiency
|
||||
void Player::SendProficiency(uint8 pr1, uint32 pr2)
|
||||
void Player::SendProficiency(ItemClass itemClass, uint32 itemSubclassMask)
|
||||
{
|
||||
WorldPacket data(SMSG_SET_PROFICIENCY, 8);
|
||||
data << uint8(pr1) << uint32(pr2);
|
||||
WorldPacket data(SMSG_SET_PROFICIENCY, 1 + 4);
|
||||
data << uint8(itemClass) << uint32(itemSubclassMask);
|
||||
GetSession()->SendPacket (&data);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue