mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-14 05:59:29 +01:00
Commit name: Add flying check to MoveSmoothPath
By Malcrom
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user