mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 21:01:37 +00:00
fix
This commit is contained in:
@@ -47,6 +47,11 @@ void PointMovementGenerator<T>::DoInitialize(T* unit)
|
|||||||
|
|
||||||
i_recalculateSpeed = false;
|
i_recalculateSpeed = false;
|
||||||
Movement::MoveSplineInit init(unit);
|
Movement::MoveSplineInit init(unit);
|
||||||
|
|
||||||
|
// mod-playerbots
|
||||||
|
if (_reverseOrientation)
|
||||||
|
init.SetOrientationInversed();
|
||||||
|
|
||||||
if (m_precomputedPath.size() > 2) // pussywizard: for charge
|
if (m_precomputedPath.size() > 2) // pussywizard: for charge
|
||||||
init.MovebyPath(m_precomputedPath);
|
init.MovebyPath(m_precomputedPath);
|
||||||
else if (_generatePath)
|
else if (_generatePath)
|
||||||
|
|||||||
Reference in New Issue
Block a user