1
This commit is contained in:
parent
0b52277eeb
commit
5864462d60
@ -50,7 +50,7 @@ void BaseAgent::Exec()
|
|||||||
{
|
{
|
||||||
behaviac::EBTStatus status = f8::BtMgr::Instance()->BtExec(this);
|
behaviac::EBTStatus status = f8::BtMgr::Instance()->BtExec(this);
|
||||||
if (status == behaviac::BT_RUNNING && event_cb_) {
|
if (status == behaviac::BT_RUNNING && event_cb_) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG1
|
||||||
DumpBt(this);
|
DumpBt(this);
|
||||||
#endif
|
#endif
|
||||||
bool has_event = false;
|
bool has_event = false;
|
||||||
|
@ -2706,6 +2706,7 @@ void Creature::OnLand()
|
|||||||
Global::Instance()->verify_set_pos = 1;
|
Global::Instance()->verify_set_pos = 1;
|
||||||
GetMutablePos().FromGlmVec3(point);
|
GetMutablePos().FromGlmVec3(point);
|
||||||
Global::Instance()->verify_set_pos = 0;
|
Global::Instance()->verify_set_pos = 0;
|
||||||
|
GetMovement()->ClearPath();
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
a8::XPrintf("OnLoad ok:%d pos:%f,%f,%f\n",
|
a8::XPrintf("OnLoad ok:%d pos:%f,%f,%f\n",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user