[10540] Fixed structure SMSG_RESYNC_RUNES

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
False.Genesis 2010-09-26 17:03:02 +04:00 committed by VladimirMangos
parent 75611b78fa
commit 0ec380e380
2 changed files with 3 additions and 2 deletions

View file

@ -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