aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2010-02-24 23:50:21 -0700
committerBrian <runningnak3d@gmail.com>2010-02-24 23:50:21 -0700
commit1ee9839bcb4aa31321a011595ceb557bee930ef1 (patch)
tree9f437bbe425871dbdf2cd516f8a2912700d79742 /src
parent8c06fe676faa0e2a60f8848be0ae94d2cf0b2329 (diff)
* Temporary fix for client freezes until the entire movement system can
* get an overhaul. * Thanks to Biglad for pointing it out. --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp8
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);
}
}
}