From 6f85b46eebf674b223df137a67c60b0b74953b97 Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 2 Oct 2010 19:44:54 +0000 Subject: (svn r20885) -Codechange: Make delete_Hash a method. --- src/pathfinder/npf/aystar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pathfinder/npf/aystar.cpp') diff --git a/src/pathfinder/npf/aystar.cpp b/src/pathfinder/npf/aystar.cpp index 9eda4a3a7..3a1a5c057 100644 --- a/src/pathfinder/npf/aystar.cpp +++ b/src/pathfinder/npf/aystar.cpp @@ -199,8 +199,8 @@ void AyStar::Free() this->OpenListQueue.Free(false); /* 2nd argument above is false, below is true, to free the values only * once */ - delete_Hash(&this->OpenListHash, true); - delete_Hash(&this->ClosedListHash, true); + this->OpenListHash.Delete(true); + this->ClosedListHash.Delete(true); #ifdef AYSTAR_DEBUG printf("[AyStar] Memory free'd\n"); #endif -- cgit v1.2.3-54-g00ecf