Fix a property name spelling error.
This commit is contained in:
parent
d805b8166b
commit
b4d0b6dcd4
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue