From e6bb14dba13ac0d07ada229f940399c3d48218fa Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 26 Feb 2013 00:25:23 +0100 Subject: [PATCH] Fix altitude correction --- OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index 703bca893a..dcaa67c945 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -1148,7 +1148,7 @@ public class MapActivity extends AccessibleActivity implements IMapLocationListe final GeoidAltitudeCorrection geo = app.getResourceManager().getGeoidAltitudeCorrection(); if (geo != null) { alt -= geo.getGeoidHeight(l.getLatitude(), l.getLongitude()); - l.setAltitude(alt); + r.setAltitude(alt); } } return r;