1
This commit is contained in:
parent
bdbb810a6f
commit
a5262d2340
@ -203,7 +203,7 @@ void FrameMaker::SerializeNewObjects(cs::SMUpdate* msg, Room* room, Human* hum,
|
|||||||
sync = true;
|
sync = true;
|
||||||
e->FillMFObjectFull(room, (Human*)hum, msg->add_full_objects());
|
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()});
|
a8::XPrintf("add full object can_see:%d sync:%d type:%d\n", {e->CanSeeMe(hum), sync, hum->IsPlayer()});
|
||||||
#endif
|
#endif
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
@ -597,7 +597,7 @@ void Human::FillMFObjectFull(Room* room, Human* hum, cs::MFObjectFull* full_data
|
|||||||
}
|
}
|
||||||
if (follow_target.Get()) {
|
if (follow_target.Get()) {
|
||||||
p->set_follow_target(follow_target.Get()->GetUniId());
|
p->set_follow_target(follow_target.Get()->GetUniId());
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG1
|
||||||
a8::XPrintf("DoFollow1 %d->%d\n", {GetUniId(), follow_target.Get()->GetUniId()});
|
a8::XPrintf("DoFollow1 %d->%d\n", {GetUniId(), follow_target.Get()->GetUniId()});
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -1096,7 +1096,7 @@ void Human::SendUpdateMsg()
|
|||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
end_tick = a8::XGetTickCount();
|
end_tick = a8::XGetTickCount();
|
||||||
if (a8::XGetTickCount() - begin_tick > 100) {
|
if (a8::XGetTickCount() - begin_tick > 200) {
|
||||||
A8_ABORT();
|
A8_ABORT();
|
||||||
}
|
}
|
||||||
begin_tick = a8::XGetTickCount();
|
begin_tick = a8::XGetTickCount();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user