diff options
author | alberth <alberth@openttd.org> | 2010-10-02 10:00:05 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-10-02 10:00:05 +0000 |
commit | 7bb7d6c35a8d5ce01120fe54b7544186be24ef08 (patch) | |
tree | 82fbe310f2a6275cf6c8f353d18dd342f0bc6bde /src/pathfinder/npf/npf.cpp | |
parent | 49ba3539b5971535476110cba85dbf13f9b02bd6 (diff) | |
download | openttd-7bb7d6c35a8d5ce01120fe54b7544186be24ef08.tar.xz |
(svn r20868) -Codechange: Make AyStarMain_Main() a method.
Diffstat (limited to 'src/pathfinder/npf/npf.cpp')
-rw-r--r-- | src/pathfinder/npf/npf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/npf/npf.cpp b/src/pathfinder/npf/npf.cpp index b027ba933..2cad61e65 100644 --- a/src/pathfinder/npf/npf.cpp +++ b/src/pathfinder/npf/npf.cpp @@ -1007,7 +1007,7 @@ static NPFFoundTargetData NPFRouteInternal(AyStarNode *start1, bool ignore_start _npf_aystar.user_data[NPF_RAILTYPES] = railtypes; /* GO! */ - r = AyStarMain_Main(&_npf_aystar); + r = _npf_aystar.Main(); assert(r != AYSTAR_STILL_BUSY); if (result.best_bird_dist != 0) { |