diff --git a/src/ATC/AILocalTraffic.cxx b/src/ATC/AILocalTraffic.cxx index 65557cdf9..afec07736 100644 --- a/src/ATC/AILocalTraffic.cxx +++ b/src/ATC/AILocalTraffic.cxx @@ -71,7 +71,7 @@ FGAILocalTraffic::FGAILocalTraffic() { elevInitGood = false; // Init the property nodes 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; liningUp = false; taxiRequestPending = false; diff --git a/src/ATC/ground.cxx b/src/ATC/ground.cxx index 99df5a10d..a6dc20790 100644 --- a/src/ATC/ground.cxx +++ b/src/ATC/ground.cxx @@ -60,7 +60,7 @@ FGGround::FGGround() { // 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_speed_knots = fgGetNode("/environment/wind-speed-kts", true); + wind_speed_knots = fgGetNode("/environment/wind-speed-kt", true); // TODO - get the actual airport elevation 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. 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 aptElev = 0.0; diff --git a/src/ATC/tower.cxx b/src/ATC/tower.cxx index 62aade716..0dab9a76f 100644 --- a/src/ATC/tower.cxx +++ b/src/ATC/tower.cxx @@ -108,7 +108,7 @@ FGTower::FGTower() { // 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_speed_knots = fgGetNode("/environment/wind-speed-kts", true); + wind_speed_knots = fgGetNode("/environment/wind-speed-kt", true); holdListItr = holdList.begin(); appListItr = appList.begin();