This commit is contained in:
aozhiwei 2023-01-05 11:04:49 +08:00
parent 0b52277eeb
commit 5864462d60
2 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,7 @@ void BaseAgent::Exec()
{
behaviac::EBTStatus status = f8::BtMgr::Instance()->BtExec(this);
if (status == behaviac::BT_RUNNING && event_cb_) {
#ifdef DEBUG
#ifdef DEBUG1
DumpBt(this);
#endif
bool has_event = false;

View File

@ -2706,6 +2706,7 @@ void Creature::OnLand()
Global::Instance()->verify_set_pos = 1;
GetMutablePos().FromGlmVec3(point);
Global::Instance()->verify_set_pos = 0;
GetMovement()->ClearPath();
#ifdef DEBUG
a8::XPrintf("OnLoad ok:%d pos:%f,%f,%f\n",
{