(svn r20686) -Codechange: Make init_BinaryHeap() a method.

This commit is contained in:
alberth
2010-08-29 13:42:38 +00:00
parent 2c962548e5
commit bc6a5a5e64
3 changed files with 18 additions and 21 deletions

View File

@@ -296,7 +296,7 @@ void init_AyStar(AyStar *aystar, Hash_HashProc hash, uint num_buckets)
* BinaryHeap allocates a block of 1024 nodes
* When that one gets full it reserves another one, till this number
* That is why it can stay this high */
init_BinaryHeap(&aystar->OpenListQueue, 102400);
aystar->OpenListQueue.Init(102400);
aystar->addstart = AyStarMain_AddStartNode;
aystar->main = AyStarMain_Main;