1
This commit is contained in:
parent
b831901f37
commit
de35a27a92
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@ -2508,7 +2511,7 @@ void Human::StartRefreshViewTimer()
|
||||
return;
|
||||
}
|
||||
refresh_view_timer_ = room->xtimer.SetIntervalWpEx
|
||||
(
|
||||
(
|
||||
SERVER_FRAME_RATE * mt::Param::s().refresh_view_time,
|
||||
[this] (int event, const a8::Args* args)
|
||||
{
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user