diff options
author | alberth <alberth@openttd.org> | 2010-10-02 19:44:54 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-10-02 19:44:54 +0000 |
commit | 6f85b46eebf674b223df137a67c60b0b74953b97 (patch) | |
tree | 68668d9bbcbd8cdedfca41f516d91ac3dc29804f /src/pathfinder/npf/aystar.cpp | |
parent | d86f781ca54faf13bab50b2817cbce82546b0760 (diff) | |
download | openttd-6f85b46eebf674b223df137a67c60b0b74953b97.tar.xz |
(svn r20885) -Codechange: Make delete_Hash a method.
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 |