summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf/aystar.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-08-29 13:38:43 +0000
committeralberth <alberth@openttd.org>2010-08-29 13:38:43 +0000
commit2c962548e52e6334db0c2457eedb40710b23bbad (patch)
tree058b6c877e8b1c388a9140470b975d463feae994 /src/pathfinder/npf/aystar.cpp
parentb06cedc905fbc1c8917f45cadfd78b246e4924f0 (diff)
downloadopenttd-2c962548e52e6334db0c2457eedb40710b23bbad.tar.xz
(svn r20685) -Codechange: Make BinaryHeap_Clear() a method.
Diffstat (limited to 'src/pathfinder/npf/aystar.cpp')
-rw-r--r--src/pathfinder/npf/aystar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/npf/aystar.cpp b/src/pathfinder/npf/aystar.cpp
index cfca30a75..8e02476a4 100644
--- a/src/pathfinder/npf/aystar.cpp
+++ b/src/pathfinder/npf/aystar.cpp
@@ -221,7 +221,7 @@ void AyStarMain_Clear(AyStar *aystar)
{
/* Clean the Queue, but not the elements within. That will be done by
* the hash. */
- aystar->OpenListQueue.clear(&aystar->OpenListQueue, false);
+ aystar->OpenListQueue.Clear(false);
/* Clean the hashes */
clear_Hash(&aystar->OpenListHash, true);
clear_Hash(&aystar->ClosedListHash, true);