mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +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)
|
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
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue