1
This commit is contained in:
parent
5178e7810d
commit
edf480f14b
@ -459,7 +459,7 @@ bool MapInstance::Raycast(int layer, const glm::vec3& start, const glm::vec3& en
|
||||
hit_pos_[1] = epos[1];
|
||||
hit_pos_[2] = epos[2];
|
||||
hit_result = false;
|
||||
} else {
|
||||
} else {
|
||||
// Hit
|
||||
dtVlerp(hit_pos_, spos, epos, t);
|
||||
if (npolys > 0) {
|
||||
@ -578,7 +578,6 @@ bool MapInstance::GetPosHeight(const Position& pos, float& out_height)
|
||||
return false;
|
||||
}
|
||||
|
||||
a8::XPrintf("getPosHeight:%d\n", {startRef});
|
||||
auto ret = navmesh_query_->getPolyHeight(startRef, nearestPt, &out_height);
|
||||
#if 0
|
||||
assert(ret == DT_SUCCESS);
|
||||
|
Loading…
x
Reference in New Issue
Block a user