1
This commit is contained in:
parent
b831901f37
commit
de35a27a92
@ -855,6 +855,9 @@ void Human::DoJump()
|
|||||||
MustBeAddBuff(this, JUMP_BUFFID);
|
MustBeAddBuff(this, JUMP_BUFFID);
|
||||||
jump_frameno_ = room->GetFrameNo();
|
jump_frameno_ = room->GetFrameNo();
|
||||||
SyncAroundPlayers(__FILE__, __LINE__, __func__);
|
SyncAroundPlayers(__FILE__, __LINE__, __func__);
|
||||||
|
#ifdef DEBUG
|
||||||
|
a8::XPrintf("DoJump\n", {});
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -435,7 +435,7 @@ bool MapInstance::Raycast(int layer, const glm::vec3& start, const glm::vec3& en
|
|||||||
memset(hit_normal_, 0, sizeof(hit_normal_));
|
memset(hit_normal_, 0, sizeof(hit_normal_));
|
||||||
navmesh_query_->raycast(startRef, spos, epos, &filter, &t, hit_normal_, polys_, &npolys, MAX_POLYS);
|
navmesh_query_->raycast(startRef, spos, epos, &filter, &t, hit_normal_, polys_, &npolys, MAX_POLYS);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG1
|
||||||
{
|
{
|
||||||
std::string dbg_data = a8::Format("npolys:%d t:%f ", {npolys, t});
|
std::string dbg_data = a8::Format("npolys:%d t:%f ", {npolys, t});
|
||||||
for (int i = 0; i < npolys; ++i) {
|
for (int i = 0; i < npolys; ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user