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);
|
||||
if(speed < 1)
|
||||
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;
|
||||
if(!wayId.Value && way.GetDirection() == (fromStart ? WayDirection.Forwards : WayDirection.Backwards) && car)
|
||||
if(!wayId.Value && way.GetDirection() == (fromStart ? WayDirection.Backwards : WayDirection.Forwards) && car)
|
||||
continue;
|
||||
|
||||
Node neighborNode = graph.Nodes[neighborId];
|
||||
|
Loading…
Reference in New Issue
Block a user