[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) 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) for(uint32 i = 0; i < count; ++i)
{ {
data << uint8(GetCurrentRune(i)); // rune type data << uint8(GetCurrentRune(i)); // rune type

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "10539" #define REVISION_NR "10540"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__