fix: nav: overlap between occupied node check and player avoid distance
fix: bot: debug overlay flickering in some situations
This commit is contained in:
parent
5019e0f872
commit
7a7a9c3146
5 changed files with 14 additions and 10 deletions
|
|
@ -252,7 +252,7 @@ AStarResult AStarAlgo::find (int botTeam, int srcIndex, int destIndex, NodeAdder
|
|||
m_routeQue.clear ();
|
||||
m_routeQue.emplace (srcIndex, srcRoute->g);
|
||||
|
||||
bool postSmoothPath = cv_path_astar_post_smooth.bool_ () && vistab.isReady ();
|
||||
const bool postSmoothPath = cv_path_astar_post_smooth.bool_ () && vistab.isReady ();
|
||||
|
||||
// always clear constructed path
|
||||
m_constructedPath.clear ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue