Compare commits
No commits in common. "e22a2b69df24930e749c6d46eed09dafeb10c8d5" and "19cee604de527eafcf5a8f1e704bdcd2ae1fd6b5" have entirely different histories.
e22a2b69df
...
19cee604de
@ -82,12 +82,10 @@ namespace astar
|
|||||||
byte speed = SpeedHelper.GetSpeed(way, car);
|
byte speed = SpeedHelper.GetSpeed(way, car);
|
||||||
if(speed < 1)
|
if(speed < 1)
|
||||||
continue;
|
continue;
|
||||||
if(!way.AccessPermitted())
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if(wayId.Value && way.GetDirection() == (fromStart ? WayDirection.Backwards : WayDirection.Forwards) && car)
|
if(wayId.Value && way.GetDirection() == (fromStart ? WayDirection.Forwards : WayDirection.Backwards) && car)
|
||||||
continue;
|
continue;
|
||||||
if(!wayId.Value && way.GetDirection() == (fromStart ? WayDirection.Forwards : WayDirection.Backwards) && car)
|
if(!wayId.Value && way.GetDirection() == (fromStart ? WayDirection.Backwards : WayDirection.Forwards) && car)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Node neighborNode = graph.Nodes[neighborId];
|
Node neighborNode = graph.Nodes[neighborId];
|
||||||
|
Loading…
Reference in New Issue
Block a user