diff options
author | alberth <alberth@openttd.org> | 2010-08-29 13:38:43 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-08-29 13:38:43 +0000 |
commit | 2c962548e52e6334db0c2457eedb40710b23bbad (patch) | |
tree | 058b6c877e8b1c388a9140470b975d463feae994 /src/pathfinder/npf/aystar.cpp | |
parent | b06cedc905fbc1c8917f45cadfd78b246e4924f0 (diff) | |
download | openttd-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.cpp | 2 |
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); |