diff options
author | megamage <none@none> | 2009-05-17 10:07:11 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-17 10:07:11 -0500 |
commit | 98e32a041d08734c3ddbedf527491ec2bdee76b0 (patch) | |
tree | 708a878daade9f3768efabd40e5ca1d0f1446505 /src/game/Unit.cpp | |
parent | d0a50c9d55092e57ee0258149ceeb05029001946 (diff) |
*Do not clear unit movement flags when it is stunned/rooted
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 6 |
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()); |