fix(Core/Player): implement Character flag CHARACTER_FLAG_RESTING (#22499)
This commit is contained in:
parent
d40be8c1d4
commit
578fabfc7f
1 changed files with 3 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ enum CharacterFlags
|
|||
{
|
||||
CHARACTER_FLAG_NONE = 0x00000000,
|
||||
CHARACTER_FLAG_UNK1 = 0x00000001,
|
||||
CHARACTER_FLAG_UNK2 = 0x00000002,
|
||||
CHARACTER_FLAG_RESTING = 0x00000002,
|
||||
CHARACTER_LOCKED_FOR_TRANSFER = 0x00000004,
|
||||
CHARACTER_FLAG_UNK4 = 0x00000008,
|
||||
CHARACTER_FLAG_UNK5 = 0x00000010,
|
||||
|
|
@ -1156,6 +1156,8 @@ bool Player::BuildEnumData(PreparedQueryResult result, WorldPacket* data)
|
|||
|
||||
*data << uint32(fields[16].Get<uint32>()); // guild id
|
||||
|
||||
if (playerFlags & PLAYER_FLAGS_RESTING)
|
||||
playerFlags |= CHARACTER_FLAG_RESTING;
|
||||
if (atLoginFlags & AT_LOGIN_RESURRECT)
|
||||
playerFlags &= ~PLAYER_FLAGS_GHOST;
|
||||
if (playerFlags & PLAYER_FLAGS_HIDE_HELM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue