From 0ec380e380910cc6692fe759a40b6531e6fa6e32 Mon Sep 17 00:00:00 2001 From: "False.Genesis" Date: Sun, 26 Sep 2010 17:03:02 +0400 Subject: [PATCH] [10540] Fixed structure SMSG_RESYNC_RUNES Signed-off-by: VladimirMangos --- src/game/Player.cpp | 3 ++- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 051936e88..f291a747c 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -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 diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 3708e5e77..5276b67a3 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10539" + #define REVISION_NR "10540" #endif // __REVISION_NR_H__