1
This commit is contained in:
parent
7b6ff961bc
commit
b1eed57dd9
@ -79,12 +79,6 @@ bool BaseAgent::PreEnterCoroutine(int co_id, behaviac::EBTStatus& status)
|
|||||||
if (co->status != behaviac::BT_RUNNING) {
|
if (co->status != behaviac::BT_RUNNING) {
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
if (owner_->room->GetFrameNo() < co->sleep_end_frameno) {
|
|
||||||
status = behaviac::BT_RUNNING;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
co->status = co->runing_cb();
|
co->status = co->runing_cb();
|
||||||
status = co->status;
|
status = co->status;
|
||||||
if (co->status != behaviac::BT_RUNNING) {
|
if (co->status != behaviac::BT_RUNNING) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user