aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorAokromes <aokromes@gmail.com>2017-04-16 15:10:48 +0200
committerAokromes <aokromes@gmail.com>2017-04-16 15:10:48 +0200
commitd8fdc893ee207851270107c1f16dc548800d7d4a (patch)
tree2334956193aba18a27ee45570d6c85db53727561 /src/server/scripts
parentc0eb6c313053d2437abf2e7fff9ab50645c98559 (diff)
Commit name: Add flying check to MoveSmoothPath
By Malcrom
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/EasternKingdoms/zone_hinterlands.cpp2
-rw-r--r--src/server/scripts/Kalimdor/zone_mulgore.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/zone_hinterlands.cpp b/src/server/scripts/EasternKingdoms/zone_hinterlands.cpp
index 7b5db096ab8..dcdbd684e8a 100644
--- a/src/server/scripts/EasternKingdoms/zone_hinterlands.cpp
+++ b/src/server/scripts/EasternKingdoms/zone_hinterlands.cpp
@@ -215,7 +215,7 @@ public:
endPoint = campPathSize;
break;
case NPC_SHARPBEAK_JINTHAALOR:
- me->GetMotionMaster()->MoveSmoothPath(jinthaalorPathSize, jinthaalorPath, jinthaalorPathSize, false);
+ me->GetMotionMaster()->MoveSmoothPath(jinthaalorPathSize, jinthaalorPath, jinthaalorPathSize, false, true);
endPoint = jinthaalorPathSize;
break;
}
diff --git a/src/server/scripts/Kalimdor/zone_mulgore.cpp b/src/server/scripts/Kalimdor/zone_mulgore.cpp
index f4a546c1f5c..15fa1a46ffd 100644
--- a/src/server/scripts/Kalimdor/zone_mulgore.cpp
+++ b/src/server/scripts/Kalimdor/zone_mulgore.cpp
@@ -54,7 +54,7 @@ public:
if (!apply)
return;
- me->GetMotionMaster()->MoveSmoothPath(EagleSpiritflightPathSize, EagleSpiritflightPath, EagleSpiritflightPathSize, false);
+ me->GetMotionMaster()->MoveSmoothPath(EagleSpiritflightPathSize, EagleSpiritflightPath, EagleSpiritflightPathSize, false, true);
me->CastSpell(me, SPELL_SPIRIT_FORM);
}