Ignore SGGeod altitude when creating BasicWaypt.
This logic was only ever causing bad values, all callers which care about an altitude restriction were setting one explicitly. Thanks to Curt for spotting it.
This commit is contained in:
parent
948aa70af7
commit
a1451f592f
1 changed files with 0 additions and 3 deletions
|
@ -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) :
|
||||
|
|
Loading…
Add table
Reference in a new issue