This commit is contained in:
aozhiwei 2023-01-04 15:19:36 +08:00
parent b831901f37
commit de35a27a92
2 changed files with 5 additions and 2 deletions

View File

@ -855,6 +855,9 @@ void Human::DoJump()
MustBeAddBuff(this, JUMP_BUFFID);
jump_frameno_ = room->GetFrameNo();
SyncAroundPlayers(__FILE__, __LINE__, __func__);
#ifdef DEBUG
a8::XPrintf("DoJump\n", {});
#endif
}
}

View File

@ -435,7 +435,7 @@ bool MapInstance::Raycast(int layer, const glm::vec3& start, const glm::vec3& en
memset(hit_normal_, 0, sizeof(hit_normal_));
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});
for (int i = 0; i < npolys; ++i) {