(svn r20868) -Codechange: Make AyStarMain_Main() a method.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user