aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland/nagrand.cpp
diff options
context:
space:
mode:
authorMachiavelli <machiaveltman@gmail.com>2012-02-23 03:12:33 -0800
committerMachiavelli <machiaveltman@gmail.com>2012-02-23 03:12:33 -0800
commit02525acccba3a206ceed5573e619a28f452b7921 (patch)
tree1a21a963f26a45ff387f48dbe372504df6122ae0 /src/server/scripts/Outland/nagrand.cpp
parent9219625243bc9f63e5a152e6cda1043cfaade201 (diff)
parent1cac01b3df83b24e90ef101630316836a79ee792 (diff)
Merge pull request #5382 from Venugh/master
Core/Units: Some cleanup in MOVEMENTFLAG_WALK toggling
Diffstat (limited to 'src/server/scripts/Outland/nagrand.cpp')
-rw-r--r--src/server/scripts/Outland/nagrand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Outland/nagrand.cpp b/src/server/scripts/Outland/nagrand.cpp
index 668db2efcbb..f1aaf82cb67 100644
--- a/src/server/scripts/Outland/nagrand.cpp
+++ b/src/server/scripts/Outland/nagrand.cpp
@@ -258,7 +258,7 @@ public:
if (summoned->isTotem())
return;
- summoned->RemoveUnitMovementFlag(MOVEMENTFLAG_WALKING);
+ summoned->SetWalk(false);
summoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
summoned->AI()->AttackStart(me);
@@ -603,7 +603,7 @@ public:
if (summoned->isTotem())
return;
- summoned->RemoveUnitMovementFlag(MOVEMENTFLAG_WALKING);
+ summoned->SetWalk(false);
summoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
summoned->AI()->AttackStart(me);
}