1
This commit is contained in:
parent
5fba11b7dc
commit
b6aa0211aa
@ -1110,7 +1110,7 @@ behaviac::EBTStatus HeroAgent::CoGetNextMobaModeRoadPoint()
|
|||||||
}
|
}
|
||||||
++owner_->point_idx;
|
++owner_->point_idx;
|
||||||
} else {
|
} else {
|
||||||
owner_->point_idx =0;
|
owner_->point_idx = 0;
|
||||||
owner_->path_dir = owner_->path_dir == 1 ? 0 : 1;
|
owner_->path_dir = owner_->path_dir == 1 ? 0 : 1;
|
||||||
}
|
}
|
||||||
return behaviac::BT_SUCCESS;
|
return behaviac::BT_SUCCESS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user