diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-11-16 23:44:36 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-11-16 23:44:36 +0100 |
commit | 32b54ffb66676ec47d7153c1b897770bc5d08493 (patch) | |
tree | 8f39e2c9cc138b07467fabc4fcb4d5ccd486528c | |
parent | b0ca98fd14b6d42863298467bd359b9e0f4bada5 (diff) |
Core/Spells: Don't treat pets as permanently crowd controlled
Closes #30445
-rw-r--r-- | src/server/game/Entities/Unit/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 73c189ea03c..4ef204e5f79 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -9317,7 +9317,7 @@ float Unit::GetWeaponDamageRange(WeaponAttackType attType, WeaponDamageRange typ bool Unit::CanFreeMove() const { return !HasUnitState(UNIT_STATE_CONFUSED | UNIT_STATE_FLEEING | UNIT_STATE_IN_FLIGHT | - UNIT_STATE_ROOT | UNIT_STATE_STUNNED | UNIT_STATE_DISTRACTED) && GetOwnerGUID().IsEmpty(); + UNIT_STATE_ROOT | UNIT_STATE_STUNNED | UNIT_STATE_DISTRACTED); } void Unit::SetLevel(uint8 lvl, bool sendUpdate/* = true*/) |