From b4d0b6dcd4b03c21c32a3e445c544c6526ab26c9 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 31 Jul 2003 01:41:46 +0000 Subject: [PATCH] Fix a property name spelling error. --- src/ATC/AILocalTraffic.cxx | 2 +- src/ATC/ground.cxx | 4 ++-- src/ATC/tower.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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();