1
This commit is contained in:
parent
7626bebc6e
commit
a4c4c02a6a
@ -106,7 +106,10 @@ void Movement::CalcTargetPos(float distance)
|
|||||||
}
|
}
|
||||||
if (point.tar_pos.GetX() < 0 ||
|
if (point.tar_pos.GetX() < 0 ||
|
||||||
point.tar_pos.GetZ() < 0) {
|
point.tar_pos.GetZ() < 0) {
|
||||||
|
return;
|
||||||
|
#if 0
|
||||||
abort();
|
abort();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
point.distance = owner_->GetPos().Distance2D2(point.tar_pos);
|
point.distance = owner_->GetPos().Distance2D2(point.tar_pos);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user