(svn r20884) -Codechange: Make clear_Hash a method.

This commit is contained in:
alberth
2010-10-02 19:43:29 +00:00
parent 5cd812aafc
commit 0612dc2e86
3 changed files with 15 additions and 14 deletions

View File

@@ -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");