(svn r20880) -Codechange: Make Hash_Size a method.

This commit is contained in:
alberth
2010-10-02 19:38:22 +00:00
parent 16b959676f
commit e4a5940251
3 changed files with 9 additions and 10 deletions

View File

@@ -182,7 +182,7 @@ int AyStar::Loop()
/* Free the node */
free(current);
if (this->max_search_nodes != 0 && Hash_Size(&this->ClosedListHash) >= this->max_search_nodes) {
if (this->max_search_nodes != 0 && this->ClosedListHash.GetSize() >= this->max_search_nodes) {
/* We've expanded enough nodes */
return AYSTAR_LIMIT_REACHED;
} else {