motorcar TR exceptions
This commit is contained in:
parent
c9593331bd
commit
b783b4568a
2 changed files with 6 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ abstract class OsmPath implements OsmLinkHolder
|
|||
TurnRestriction tr = sourceNode.firstRestriction;
|
||||
while( tr != null )
|
||||
{
|
||||
if ( tr.exceptBikes() && rc.bikeMode )
|
||||
if ( ( tr.exceptBikes() && rc.bikeMode ) || tr.exceptMotorcars() && rc.carMode )
|
||||
{
|
||||
tr = tr.next;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue