mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-22 06:25:44 +00:00
Change how function works.
This commit is contained in:
parent
0e68c20fcd
commit
09780b4ea0
@ -316,10 +316,10 @@ ClearPriorityObjective()
|
||||
/*
|
||||
Checks whether the path generated by the ASTAR path finding is inaccessible
|
||||
*/
|
||||
GetPathIsInaccessible()
|
||||
GetPathIsInaccessible( to )
|
||||
{
|
||||
waittillframeend;
|
||||
return self.bot.path_inaccessible;
|
||||
path = generatePath( self.origin, to, self.team, level.bot_allowed_negotiation_links );
|
||||
return !isDefined( path ) || path.size <= 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user