Fix a copy-paste bug in the route-manager.
autopilot/route-manager/departure/field-elevation-ft was giving destination field elevation, not departure. Thanks to Hyde Yamakawa for noticing this.
This commit is contained in:
parent
8aba04c3a2
commit
3e1af8248a
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ void FGRouteMgr::init() {
|
|||
departure->tie("name", SGRawValueMethods<FGRouteMgr, const char*>(*this,
|
||||
&FGRouteMgr::getDepartureName, NULL));
|
||||
departure->tie("field-elevation-ft", SGRawValueMethods<FGRouteMgr, double>(*this,
|
||||
&FGRouteMgr::getDestinationFieldElevation, NULL));
|
||||
&FGRouteMgr::getDepartureFieldElevation, NULL));
|
||||
departure->getChild("etd", 0, true);
|
||||
departure->getChild("takeoff-time", 0, true);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue