mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[10540] Fixed structure SMSG_RESYNC_RUNES
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
75611b78fa
commit
0ec380e380
2 changed files with 3 additions and 2 deletions
|
|
@ -20986,7 +20986,8 @@ void Player::ConvertRune(uint8 index, RuneType newType)
|
|||
|
||||
void Player::ResyncRunes(uint8 count)
|
||||
{
|
||||
WorldPacket data(SMSG_RESYNC_RUNES, count * 2);
|
||||
WorldPacket data(SMSG_RESYNC_RUNES, 4 + count * 2);
|
||||
data << uint32(count);
|
||||
for(uint32 i = 0; i < count; ++i)
|
||||
{
|
||||
data << uint8(GetCurrentRune(i)); // rune type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue