X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNavaids%2Fwaypoint.cxx;h=5d2d761016148bde57b02a15e0be19c59f8dd347;hb=3e46c7998ce2bf23ec322d1dfe65c8da35621d51;hp=aaeedd53c84dbcfc43f38fef9fdd5d96672d09c3;hpb=1eb8ae1fbf43359eec09b99885a9280f529c86fb;p=flightgear.git diff --git a/src/Navaids/waypoint.cxx b/src/Navaids/waypoint.cxx index aaeedd53c..5d2d76101 100644 --- a/src/Navaids/waypoint.cxx +++ b/src/Navaids/waypoint.cxx @@ -38,9 +38,6 @@ BasicWaypt::BasicWaypt(const SGGeod& aPos, const string& aIdent, RouteBase* aOwn _pos(aPos), _ident(aIdent) { - if (aPos.getElevationFt() > -999.0) { - setAltitude(aPos.getElevationFt(), RESTRICT_AT); - } } BasicWaypt::BasicWaypt(RouteBase* aOwner) :