1
This commit is contained in:
parent
18d3b78ba6
commit
9126cb486c
@ -113,10 +113,8 @@ void MoveHelper::CalcTargetPos(float distance)
|
||||
}
|
||||
}
|
||||
point.distance = owner_->GetPos().Distance2D2(point.tar_pos);
|
||||
point.src_pos.x = owner_->GetPos().x;
|
||||
point.src_pos.z = owner_->GetPos().y;
|
||||
point.curr_pos.x = owner_->GetPos().x;
|
||||
point.curr_pos.z = owner_->GetPos().y;
|
||||
point.src_pos = owner_->GetPos();
|
||||
point.curr_pos = owner_->GetPos();
|
||||
|
||||
if (point.tar_pos.x < 0 ||
|
||||
point.tar_pos.z < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user