From 3f0cd8c9f0e3b1da2383f09fac1e4a18e782968e Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 29 Aug 2010 13:38:06 +0000 Subject: (svn r20683) -Codechange: Make BinaryHeap_Delete() 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 1a651a740..4b0485bc0 100644 --- a/src/pathfinder/npf/aystar.cpp +++ b/src/pathfinder/npf/aystar.cpp @@ -127,7 +127,7 @@ static int AyStarMain_CheckTile(AyStar *aystar, AyStarNode *current, OpenListNod uint i; /* Yes, check if this g value is lower.. */ if (new_g > check->g) return AYSTAR_DONE; - aystar->OpenListQueue.del(&aystar->OpenListQueue, check, 0); + aystar->OpenListQueue.Delete(check, 0); /* It is lower, so change it to this item */ check->g = new_g; check->path.parent = closedlist_parent; -- cgit v1.2.3-54-g00ecf