mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Movement: General improvements for confused/fleeing movement
This commit is contained in:
@@ -651,9 +651,9 @@ void MotionMaster::DelayedDelete(_Ty curr)
|
||||
bool MotionMaster::GetDestination(float &x, float &y, float &z)
|
||||
{
|
||||
if (_owner->movespline->Finalized())
|
||||
return false;
|
||||
return false;
|
||||
|
||||
const G3D::Vector3& dest = _owner->movespline->FinalDestination();
|
||||
G3D::Vector3 const& dest = _owner->movespline->FinalDestination();
|
||||
x = dest.x;
|
||||
y = dest.y;
|
||||
z = dest.z;
|
||||
|
||||
Reference in New Issue
Block a user