]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud_rwy.cxx
- Added ultra-light traffic is now a separate traffic class that can have its
[flightgear.git] / src / Cockpit / hud_rwy.cxx
index aac5e26e0ca29274626b70a935981fe894489fba..6b40e178fa419d2a556596fe6f2b01701eff7d59 100644 (file)
@@ -207,14 +207,6 @@ void runway_instr::get_rwy_points(sgdVec3 *points3d)
 
     geo_direct_wgs_84(alt, frontLat, frontLon, runway._heading + 90, width, &tempLat, &tempLon, &az);
     sgGeodToCart(tempLat * SG_DEGREES_TO_RADIANS, tempLon * SG_DEGREES_TO_RADIANS, alt, points3d[3]);
-
-    //Get the current tile center
-    SGVec3d tileCenter = globals->get_scenery()->get_center();
-    for (int i = 0; i < 6; i++) {
-        points3d[i][0] -= tileCenter.x();
-        points3d[i][1] -= tileCenter.y();
-        points3d[i][2] -= tileCenter.z();
-    }
 }