aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/hinterlands.cpp
diff options
context:
space:
mode:
authorVenugh <venugh@gmx.net>2012-02-23 11:50:58 +0100
committerVenugh <venugh@gmx.net>2012-02-23 11:50:58 +0100
commit1cac01b3df83b24e90ef101630316836a79ee792 (patch)
tree1a21a963f26a45ff387f48dbe372504df6122ae0 /src/server/scripts/EasternKingdoms/hinterlands.cpp
parent9219625243bc9f63e5a152e6cda1043cfaade201 (diff)
Core/Movement: Use SetWalk(true/false) instead of AddUnit/RemoveUnit.
Diffstat (limited to 'src/server/scripts/EasternKingdoms/hinterlands.cpp')
-rw-r--r--src/server/scripts/EasternKingdoms/hinterlands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/hinterlands.cpp b/src/server/scripts/EasternKingdoms/hinterlands.cpp
index 7021deeae75..a66a01e00e5 100644
--- a/src/server/scripts/EasternKingdoms/hinterlands.cpp
+++ b/src/server/scripts/EasternKingdoms/hinterlands.cpp
@@ -273,7 +273,7 @@ public:
void JustSummoned(Creature* summoned)
{
- summoned->RemoveUnitMovementFlag(MOVEMENTFLAG_WALKING);
+ summoned->SetWalk(false);
summoned->GetMotionMaster()->MovePoint(0, m_afAmbushMoveTo[m_iSpawnId].m_fX, m_afAmbushMoveTo[m_iSpawnId].m_fY, m_afAmbushMoveTo[m_iSpawnId].m_fZ);
}