mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
fix
This commit is contained in:
parent
49e644d780
commit
496cba943f
@ -2231,10 +2231,11 @@ doWalk(goal, dist, isScriptGoal)
|
||||
self endon("goal_internal");//so that the watchOnGoal notify can happen same frame, not a frame later
|
||||
|
||||
distsq = dist*dist;
|
||||
self thread killWalkOnEvents();
|
||||
self thread watchOnGoal(goal, distsq);
|
||||
if (isScriptGoal)
|
||||
self thread doWalkScriptNotify();
|
||||
|
||||
self thread killWalkOnEvents();
|
||||
self thread watchOnGoal(goal, distsq);
|
||||
|
||||
current = self initAStar(goal);
|
||||
while(current >= 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user