From 44125f32c3e7a537506c8480358661682bfaa83a Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 9 Sep 2014 21:22:58 +0200 Subject: [PATCH] try fix Issue AND-160 (part 2) --- OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java index 3119531c8d..4765f387ca 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java @@ -246,7 +246,7 @@ public class WaypointHelper { if (pointTypes != null) { for (int r = 0; r < pointTypes.length; r++) { RouteTypeRule typeRule = reg.quickGetEncodingRule(pointTypes[r]); - AlarmInfo info = AlarmInfo.createAlarmInfo(typeRule, 0, loc); + AlarmInfo info = AlarmInfo.createAlarmInfo(typeRule, i, loc); if (info != null) { if (info.getType() != AlarmInfoType.SPEED_CAMERA || showCameras) { long ms = System.currentTimeMillis() ;