Make feature off route global

This commit is contained in:
Victor Shcherb 2013-07-25 00:06:01 +02:00
parent 2e864b3098
commit b917ff286e

View file

@ -228,7 +228,7 @@ public class RoutingHelper {
log.info("Recalculate route, because correlation : " + dist); //$NON-NLS-1$ log.info("Recalculate route, because correlation : " + dist); //$NON-NLS-1$
calculateRoute = true; calculateRoute = true;
} }
if(dist > 350 && currentGPXRoute != null) { if(dist > 350) {
voiceRouter.announceOffRoute(dist); voiceRouter.announceOffRoute(dist);
} }
} }