This commit is contained in:
aozhiwei 2022-12-06 15:24:46 +08:00
parent 38c447505f
commit 09d724202a

View File

@ -88,6 +88,12 @@ void Android::InternalUpdate(int delta_time)
room->grid_service->MoveCreature(this);
return;
}
if (GetMoveHelper()->GetPathSize() > 0) {
Global::Instance()->verify_set_pos = 1;
int speed = std::max(1, (int)GetSpeed()) * 1;
_UpdateMove(speed);
Global::Instance()->verify_set_pos = 0;
}
behaviac::EBTStatus status = f8::BtMgr::Instance()->BtExec(agent_);
#if 0
if (status != behaviac::BT_RUNNING) {