1
This commit is contained in:
parent
27d6969ccc
commit
0d8f6b17c2
@ -95,6 +95,7 @@ void MoveHelper::CalcTargetPos(float distance)
|
||||
abort();
|
||||
}
|
||||
#ifdef DEBUG
|
||||
if (owner_->IsPlayer()) {
|
||||
a8::XPrintf("CalcTargetPos src_pos:%f,%f,%f tar_pos:%f,%f%f is_hit:%d start:%f,%f,%f end:%f,%f,%f distance:%f\n",
|
||||
{
|
||||
point.src_pos.x,
|
||||
@ -114,6 +115,7 @@ void MoveHelper::CalcTargetPos(float distance)
|
||||
end.z,
|
||||
point.distance
|
||||
});
|
||||
}
|
||||
#endif
|
||||
|
||||
if (point.distance < 0.00001f / owner_->room->GetMapMeta()->pb->scale()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user