fix(Core/Movement): Fixed collision calculation returning wrong position. (#4879)

This commit is contained in:
UltraNix
2021-03-20 17:55:59 +01:00
committed by GitHub
parent 7c620fb7f0
commit b2f6a36c6c
2 changed files with 8 additions and 10 deletions

View File

@@ -38,7 +38,7 @@ void FleeingMovementGenerator<T>::_setTargetLocation(T* owner)
owner->AddUnitState(UNIT_STATE_FLEEING_MOVE);
Movement::MoveSplineInit init(owner);
init.MoveTo(x, y, z);
init.MoveTo(x, y, z, true);
init.SetWalk(false);
init.Launch();
}