From d86f781ca54faf13bab50b2817cbce82546b0760 Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 2 Oct 2010 19:43:29 +0000 Subject: (svn r20884) -Codechange: Make clear_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 4ef8cbfbe..9eda4a3a7 100644 --- a/src/pathfinder/npf/aystar.cpp +++ b/src/pathfinder/npf/aystar.cpp @@ -216,8 +216,8 @@ void AyStar::Clear() * the hash. */ this->OpenListQueue.Clear(false); /* Clean the hashes */ - clear_Hash(&this->OpenListHash, true); - clear_Hash(&this->ClosedListHash, true); + this->OpenListHash.Clear(true); + this->ClosedListHash.Clear(true); #ifdef AYSTAR_DEBUG printf("[AyStar] Cleared AyStar\n"); -- cgit v1.2.3-54-g00ecf