diff options
author | alberth <alberth@openttd.org> | 2010-08-29 13:38:27 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-08-29 13:38:27 +0000 |
commit | b06cedc905fbc1c8917f45cadfd78b246e4924f0 (patch) | |
tree | f6873a69a568e7a26a3ac5506e1b55fc46d729c9 /src/pathfinder/npf/aystar.cpp | |
parent | 3f0cd8c9f0e3b1da2383f09fac1e4a18e782968e (diff) | |
download | openttd-b06cedc905fbc1c8917f45cadfd78b246e4924f0.tar.xz |
(svn r20684) -Codechange: Make BinaryHeap_Free() 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 4b0485bc0..cfca30a75 100644 --- a/src/pathfinder/npf/aystar.cpp +++ b/src/pathfinder/npf/aystar.cpp @@ -203,7 +203,7 @@ static int AyStarMain_Loop(AyStar *aystar) */ static void AyStarMain_Free(AyStar *aystar) { - aystar->OpenListQueue.free(&aystar->OpenListQueue, false); + aystar->OpenListQueue.Free(false); /* 2nd argument above is false, below is true, to free the values only * once */ delete_Hash(&aystar->OpenListHash, true); |