diff options
Diffstat (limited to 'src/pathfinder/npf/aystar.cpp')
-rw-r--r-- | src/pathfinder/npf/aystar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |