This commit is contained in:
aozhiwei 2023-05-26 19:21:04 +08:00
parent 7626bebc6e
commit a4c4c02a6a

View File

@ -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);