1
This commit is contained in:
parent
a2d1f9d4a3
commit
77a869c331
@ -37,5 +37,10 @@ void MoveHelper::CalcTargetPos(float distance)
|
||||
} else {
|
||||
point.pos = end * 10.f;
|
||||
}
|
||||
a8::Vec2 v2;
|
||||
v2.x = point.pos.x;
|
||||
v2.y = point.pos.z;
|
||||
point.distance = v2.Distance(owner_->GetPos());
|
||||
|
||||
paths_.push_back(point);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user