From f185a352693d3d78ced707ef990ccb44a84203e9 Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 2 Oct 2010 19:42:42 +0000 Subject: (svn r20883) -Codechange: Make Hash_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 f8f939894..4ef8cbfbe 100644 --- a/src/pathfinder/npf/aystar.cpp +++ b/src/pathfinder/npf/aystar.cpp @@ -61,7 +61,7 @@ OpenListNode *AyStar::OpenListPop() /* Return the item the Queue returns.. the best next OpenList item. */ OpenListNode *res = (OpenListNode*)this->OpenListQueue.Pop(); if (res != NULL) { - Hash_Delete(&this->OpenListHash, res->path.node.tile, res->path.node.direction); + this->OpenListHash.DeleteValue(res->path.node.tile, res->path.node.direction); } return res; -- cgit v1.2.3-54-g00ecf