fix(Core/Movement): Fixed collision calculation returning wrong position. (#4879)
This commit is contained in:
parent
7c620fb7f0
commit
b2f6a36c6c
2 changed files with 8 additions and 10 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue