(svn r20868) -Codechange: Make AyStarMain_Main() a method.

This commit is contained in:
alberth
2010-10-02 10:00:05 +00:00
parent 253fca9876
commit cc8370a866
3 changed files with 9 additions and 16 deletions

View File

@@ -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) {