mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 11:55:43 +00:00
Merge pull request #153 from hermensbas/fix/reverse_movement_point_movement
[BUG FIX] Reverse walking
This commit is contained in:
@@ -47,6 +47,11 @@ void PointMovementGenerator<T>::DoInitialize(T* unit)
|
||||
|
||||
i_recalculateSpeed = false;
|
||||
Movement::MoveSplineInit init(unit);
|
||||
|
||||
// mod-playerbots
|
||||
if (_reverseOrientation)
|
||||
init.SetOrientationInversed();
|
||||
|
||||
if (m_precomputedPath.size() > 2) // pussywizard: for charge
|
||||
init.MovebyPath(m_precomputedPath);
|
||||
else if (_generatePath)
|
||||
|
||||
Reference in New Issue
Block a user