voice hints, here: cf=9999 survive decoder

This commit is contained in:
Arndt 2016-05-01 11:51:42 +02:00
parent 23d1812371
commit e8d8bc084a
6 changed files with 40 additions and 17 deletions

View file

@ -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;