mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-23 02:35:43 +00:00
fix?
This commit is contained in:
parent
08d983810c
commit
76aacccc08
@ -1235,11 +1235,12 @@ doWalk(goal, dist, isScriptGoal)
|
|||||||
self endon("goal_internal");//so that the watchOnGoal notify can happen same frame, not a frame later
|
self endon("goal_internal");//so that the watchOnGoal notify can happen same frame, not a frame later
|
||||||
|
|
||||||
distsq = dist*dist;
|
distsq = dist*dist;
|
||||||
self thread killWalkOnEvents();
|
|
||||||
self thread watchOnGoal(goal, distsq);
|
|
||||||
if (isScriptGoal)
|
if (isScriptGoal)
|
||||||
self thread doWalkScriptNotify();
|
self thread doWalkScriptNotify();
|
||||||
|
|
||||||
|
self thread killWalkOnEvents();
|
||||||
|
self thread watchOnGoal(goal, distsq);
|
||||||
|
|
||||||
current = self initAStar(goal);
|
current = self initAStar(goal);
|
||||||
while(current >= 0)
|
while(current >= 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user