Core: Adjust packetsize for SMSG_RESYNC_RUNES - thanks to False.Genesis ( and to Svetilo12 for the heads up )

Closes issue 4943.

--HG--
branch : trunk
This commit is contained in:
click
2010-11-28 00:40:20 +01:00
parent c4a7d18306
commit 0fde30f185
+2 -1
View File
@@ -22657,7 +22657,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