aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 0588e5fe2a2..6e0eb316e51 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -13251,8 +13251,8 @@ void Unit::SetStunned(bool apply)
// Creature specific
if(GetTypeId() != TYPEID_PLAYER)
((Creature*)this)->StopMoving();
- else
- SetUnitMovementFlags(0); //Clear movement flags
+ //else
+ // SetUnitMovementFlags(0); //Clear movement flags
WorldPacket data(SMSG_FORCE_MOVE_ROOT, 8);
data.append(GetPackGUID());
@@ -13284,7 +13284,7 @@ void Unit::SetRooted(bool apply)
if(GetTypeId() == TYPEID_PLAYER)
{
- SetUnitMovementFlags(0);
+ //SetUnitMovementFlags(0);
WorldPacket data(SMSG_FORCE_MOVE_ROOT, 10);
data.append(GetPackGUID());