Skip to content

Commit 32b54ff

Browse files
committed
Core/Spells: Don't treat pets as permanently crowd controlled
Closes #30445
1 parent b0ca98f commit 32b54ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/game/Entities/Unit/Unit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9317,7 +9317,7 @@ float Unit::GetWeaponDamageRange(WeaponAttackType attType, WeaponDamageRange typ
93179317
bool Unit::CanFreeMove() const
93189318
{
93199319
return !HasUnitState(UNIT_STATE_CONFUSED | UNIT_STATE_FLEEING | UNIT_STATE_IN_FLIGHT |
9320-
UNIT_STATE_ROOT | UNIT_STATE_STUNNED | UNIT_STATE_DISTRACTED) && GetOwnerGUID().IsEmpty();
9320+
UNIT_STATE_ROOT | UNIT_STATE_STUNNED | UNIT_STATE_DISTRACTED);
93219321
}
93229322

93239323
void Unit::SetLevel(uint8 lvl, bool sendUpdate/* = true*/)

0 commit comments

Comments
 (0)