Fix used field

This commit is contained in:
Alex Sytnyk 2018-04-16 01:16:48 +03:00
parent c0ee6d83ae
commit bfc3716729

View file

@ -143,7 +143,7 @@ public class FavouritesLayer extends OsmandMapLayer implements ContextMenuLayer.
}
for (FavouritePoint o : fullObjects) {
if (o != contextMenuLayer.getMoveableObject()) {
MapMarker mapMarker = mapMarkersHelper.getMapMarker(objectInMotion);
MapMarker mapMarker = mapMarkersHelper.getMapMarker(o);
drawPoint(canvas, tileBox, latLonBounds, o, mapMarker);
}
}