Merge pull request #11251 from osmandapp/fix_conditional_tags

fix replace getNonConditionalTag
This commit is contained in:
vshcherb 2021-03-30 13:35:22 +02:00 committed by GitHub
commit 32718977c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -583,7 +583,7 @@ public class RouteDataObject {
String nonCondTag = rtr.getTag();
int ks;
for (ks = 0; ks < pointTypes[i].length; ks++) {
RouteTypeRule toReplace = region.quickGetEncodingRule(pointTypes[i][j]);
RouteTypeRule toReplace = region.quickGetEncodingRule(pointTypes[i][ks]);
if (toReplace != null && toReplace.getTag().contentEquals(nonCondTag)) {
break;
}