diff options
-rw-r--r-- | src/game/Unit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 04f2081915e..a1c6a5d272d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -14809,7 +14809,7 @@ void Unit::SetStunned(bool apply) SetUInt64Value(UNIT_FIELD_TARGET, 0); SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED); CastStop(); - AddUnitMovementFlag(MOVEMENTFLAG_ROOT); +// AddUnitMovementFlag(MOVEMENTFLAG_ROOT); // Creature specific if (GetTypeId() != TYPEID_PLAYER) @@ -14839,7 +14839,7 @@ void Unit::SetStunned(bool apply) data << uint32(0); SendMessageToSet(&data,true); - RemoveUnitMovementFlag(MOVEMENTFLAG_ROOT); +// RemoveUnitMovementFlag(MOVEMENTFLAG_ROOT); } } } @@ -14848,7 +14848,7 @@ void Unit::SetRooted(bool apply) { if (apply) { - AddUnitMovementFlag(MOVEMENTFLAG_ROOT); +// AddUnitMovementFlag(MOVEMENTFLAG_ROOT); WorldPacket data(SMSG_FORCE_MOVE_ROOT, 10); data.append(GetPackGUID()); @@ -14867,7 +14867,7 @@ void Unit::SetRooted(bool apply) data << (uint32)2; SendMessageToSet(&data,true); - RemoveUnitMovementFlag(MOVEMENTFLAG_ROOT); +// RemoveUnitMovementFlag(MOVEMENTFLAG_ROOT); } } } |