aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland/nagrand.cpp
diff options
context:
space:
mode:
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);
}