diff --git a/server/gameserver/base_agent.cc b/server/gameserver/base_agent.cc index 198f86c1..fce37b59 100644 --- a/server/gameserver/base_agent.cc +++ b/server/gameserver/base_agent.cc @@ -79,12 +79,6 @@ bool BaseAgent::PreEnterCoroutine(int co_id, behaviac::EBTStatus& status) if (co->status != behaviac::BT_RUNNING) { abort(); } - #if 0 - if (owner_->room->GetFrameNo() < co->sleep_end_frameno) { - status = behaviac::BT_RUNNING; - return true; - } - #endif co->status = co->runing_cb(); status = co->status; if (co->status != behaviac::BT_RUNNING) {