This commit is contained in:
aozhiwei 2023-10-31 22:03:41 +08:00
parent 5fba11b7dc
commit b6aa0211aa

View File

@ -1110,7 +1110,7 @@ behaviac::EBTStatus HeroAgent::CoGetNextMobaModeRoadPoint()
}
++owner_->point_idx;
} else {
owner_->point_idx =0;
owner_->point_idx = 0;
owner_->path_dir = owner_->path_dir == 1 ? 0 : 1;
}
return behaviac::BT_SUCCESS;