Entities/Player: Fix an edge case where overlapping CCs could prevent player movement from being re-enabled.

Port From (https://github.com/TrinityCore/TrinityCore/commit/096269349cd82a44f57f36b17dfe4e5e32a39f9a)
This commit is contained in:
hondacrx
2021-12-26 19:56:01 -05:00
parent bddde92a0f
commit a3f2e9f372
+1 -1
View File
@@ -7226,7 +7226,7 @@ namespace Game.Entities
}
// still affected by some aura that shouldn't allow control, only allow on last such aura to be removed
if (target.HasUnitState(UnitState.Controlled))
if (target.HasUnitState(UnitState.Fleeing | UnitState.Confused))
allowMove = false;
ControlUpdate packet = new();