mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9619] Reset more UNIT_FIELD_FLAGS at login.
This commit is contained in:
parent
b658b25ff8
commit
4be91fa97a
3 changed files with 3 additions and 2 deletions
|
|
@ -2678,6 +2678,7 @@ void Player::InitStatsForLevel(bool reapplyMods)
|
|||
// cleanup unit flags (will be re-applied if need at aura load).
|
||||
RemoveFlag( UNIT_FIELD_FLAGS,
|
||||
UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_NOT_ATTACKABLE_1 |
|
||||
UNIT_FLAG_OOC_NOT_ATTACKABLE | UNIT_FLAG_PASSIVE | UNIT_FLAG_LOOTING |
|
||||
UNIT_FLAG_PET_IN_COMBAT | UNIT_FLAG_SILENCED | UNIT_FLAG_PACIFIED |
|
||||
UNIT_FLAG_STUNNED | UNIT_FLAG_IN_COMBAT | UNIT_FLAG_DISARMED |
|
||||
UNIT_FLAG_CONFUSED | UNIT_FLAG_FLEEING | UNIT_FLAG_NOT_SELECTABLE |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue