Core/Movement: General improvements for confused/fleeing movement
This commit is contained in:
1 parent
68291eed03
commit
94cca94017
4 files changed
+36
-59
No files matched your search
@@ -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