1
This commit is contained in:
parent
38c447505f
commit
09d724202a
@ -88,6 +88,12 @@ void Android::InternalUpdate(int delta_time)
|
|||||||
room->grid_service->MoveCreature(this);
|
room->grid_service->MoveCreature(this);
|
||||||
return;
|
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_);
|
behaviac::EBTStatus status = f8::BtMgr::Instance()->BtExec(agent_);
|
||||||
#if 0
|
#if 0
|
||||||
if (status != behaviac::BT_RUNNING) {
|
if (status != behaviac::BT_RUNNING) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user