From bc6a5a5e645ac44415e5c94bb12fa24cfa0724cd Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 29 Aug 2010 13:42:38 +0000 Subject: (svn r20686) -Codechange: Make init_BinaryHeap() a method. --- src/pathfinder/npf/aystar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pathfinder/npf/aystar.cpp') diff --git a/src/pathfinder/npf/aystar.cpp b/src/pathfinder/npf/aystar.cpp index 8e02476a4..f2e05ec5b 100644 --- a/src/pathfinder/npf/aystar.cpp +++ b/src/pathfinder/npf/aystar.cpp @@ -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; -- cgit v1.2.3-54-g00ecf