This commit is contained in:
aozhiwei 2023-01-11 14:25:27 +08:00
parent bdbb810a6f
commit a5262d2340
2 changed files with 3 additions and 3 deletions

View File

@ -203,7 +203,7 @@ void FrameMaker::SerializeNewObjects(cs::SMUpdate* msg, Room* room, Human* hum,
sync = true;
e->FillMFObjectFull(room, (Human*)hum, msg->add_full_objects());
}
#ifdef DEBUG
#ifdef DEBUG1
a8::XPrintf("add full object can_see:%d sync:%d type:%d\n", {e->CanSeeMe(hum), sync, hum->IsPlayer()});
#endif
#ifdef DEBUG

View File

@ -597,7 +597,7 @@ void Human::FillMFObjectFull(Room* room, Human* hum, cs::MFObjectFull* full_data
}
if (follow_target.Get()) {
p->set_follow_target(follow_target.Get()->GetUniId());
#ifdef DEBUG
#ifdef DEBUG1
a8::XPrintf("DoFollow1 %d->%d\n", {GetUniId(), follow_target.Get()->GetUniId()});
#endif
}
@ -1096,7 +1096,7 @@ void Human::SendUpdateMsg()
}
#ifdef DEBUG
end_tick = a8::XGetTickCount();
if (a8::XGetTickCount() - begin_tick > 100) {
if (a8::XGetTickCount() - begin_tick > 200) {
A8_ABORT();
}
begin_tick = a8::XGetTickCount();