]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a property name spelling error.
authorcurt <curt>
Thu, 31 Jul 2003 01:41:46 +0000 (01:41 +0000)
committercurt <curt>
Thu, 31 Jul 2003 01:41:46 +0000 (01:41 +0000)
src/ATC/AILocalTraffic.cxx
src/ATC/ground.cxx
src/ATC/tower.cxx

index 65557cdf9bbdca73758424ace8cf219f5398c667..afec0773640bd2758fb6585219a8f3c6f199bd41 100644 (file)
@@ -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;
index 99df5a10d771268c90033dcb6e1164cfdcc081b8..a6dc207905b9363c8ccd565588c81e38b1510128 100644 (file)
@@ -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;
index 62aade7161b79f9e778a3a0e7e736422395fa466..0dab9a76fd67488c82bd74f307cbfb6ca8fad4b1 100644 (file)
@@ -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();