voice hints, here: cf=9999 survive decoder
This commit is contained in:
parent
23d1812371
commit
e8d8bc084a
6 changed files with 40 additions and 17 deletions
|
|
@ -304,7 +304,7 @@ final class OsmPath implements OsmLinkHolder
|
|||
}
|
||||
|
||||
float fcost = dist * costfactor + 0.5f;
|
||||
if ( ( costfactor > 9999. && !detailMode ) || fcost + cost >= 2000000000. )
|
||||
if ( ( costfactor > 9998. && !detailMode ) || fcost + cost >= 2000000000. )
|
||||
{
|
||||
cost = -1;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue