1
0
Fork 0

Fix a property name spelling error.

This commit is contained in:
curt 2003-07-31 01:41:46 +00:00
parent d805b8166b
commit b4d0b6dcd4
3 changed files with 4 additions and 4 deletions

View file

@ -71,7 +71,7 @@ FGAILocalTraffic::FGAILocalTraffic() {
elevInitGood = false; elevInitGood = false;
// Init the property nodes // Init the property nodes
wind_from_hdg = fgGetNode("/environment/wind-from-heading-deg", true); wind_from_hdg = fgGetNode("/environment/wind-from-heading-deg", true);
wind_speed_knots = fgGetNode("/environment/wind-speed-kts", true); wind_speed_knots = fgGetNode("/environment/wind-speed-kt", true);
circuitsToFly = 0; circuitsToFly = 0;
liningUp = false; liningUp = false;
taxiRequestPending = false; taxiRequestPending = false;

View file

@ -60,7 +60,7 @@ FGGround::FGGround() {
// Init the property nodes - TODO - need to make sure we're getting surface winds. // Init the property nodes - TODO - need to make sure we're getting surface winds.
wind_from_hdg = fgGetNode("/environment/wind-from-heading-deg", true); wind_from_hdg = fgGetNode("/environment/wind-from-heading-deg", true);
wind_speed_knots = fgGetNode("/environment/wind-speed-kts", true); wind_speed_knots = fgGetNode("/environment/wind-speed-kt", true);
// TODO - get the actual airport elevation // TODO - get the actual airport elevation
aptElev = 0.0; aptElev = 0.0;
@ -76,7 +76,7 @@ FGGround::FGGround(string id) {
// Init the property nodes - TODO - need to make sure we're getting surface winds. // Init the property nodes - TODO - need to make sure we're getting surface winds.
wind_from_hdg = fgGetNode("/environment/wind-from-heading-deg", true); wind_from_hdg = fgGetNode("/environment/wind-from-heading-deg", true);
wind_speed_knots = fgGetNode("/environment/wind-speed-kts", true); wind_speed_knots = fgGetNode("/environment/wind-speed-kt", true);
// TODO - get the actual airport elevation // TODO - get the actual airport elevation
aptElev = 0.0; aptElev = 0.0;

View file

@ -108,7 +108,7 @@ FGTower::FGTower() {
// Init the property nodes - TODO - need to make sure we're getting surface winds. // Init the property nodes - TODO - need to make sure we're getting surface winds.
wind_from_hdg = fgGetNode("/environment/wind-from-heading-deg", true); wind_from_hdg = fgGetNode("/environment/wind-from-heading-deg", true);
wind_speed_knots = fgGetNode("/environment/wind-speed-kts", true); wind_speed_knots = fgGetNode("/environment/wind-speed-kt", true);
holdListItr = holdList.begin(); holdListItr = holdList.begin();
appListItr = appList.begin(); appListItr = appList.begin();