mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
forgot this one (#26278)
This commit is contained in:
@@ -206,7 +206,7 @@ proc/quick_AStar(start,end,adjacent,dist,maxnodes,maxnodedepth = 30,mintargetdis
|
|||||||
return 0
|
return 0
|
||||||
|
|
||||||
//initialization
|
//initialization
|
||||||
open.Enqueue(new /PathNode(start,null,0,call(start,dist)(end),0,"unique"))
|
open.Enqueue(new /PathNode(start,null,0,call(start,dist)(end),0,"unique_[reference]"))
|
||||||
|
|
||||||
//then run the main loop
|
//then run the main loop
|
||||||
while(!open.IsEmpty() && !path)
|
while(!open.IsEmpty() && !path)
|
||||||
|
|||||||
Reference in New Issue
Block a user