]> git.mxchange.org Git - flightgear.git/commitdiff
Explicitly initialise aptElev
authordaveluff <daveluff>
Tue, 3 Jun 2003 14:08:24 +0000 (14:08 +0000)
committerdaveluff <daveluff>
Tue, 3 Jun 2003 14:08:24 +0000 (14:08 +0000)
src/ATC/ground.cxx

index 526aec07e1f9a10b2933765359e4393b9cd96d57..9c78282fbc0993882e189a94aeeee787301a484b 100644 (file)
@@ -61,6 +61,9 @@ 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);
+       
+       // TODO - get the actual airport elevation
+       aptElev = 0.0;
 }
 
 FGGround::FGGround(string id) {
@@ -74,6 +77,9 @@ 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);
+       
+       // TODO - get the actual airport elevation
+       aptElev = 0.0;
 }
 
 FGGround::~FGGround() {