1
0
Fork 0

Explicitly initialise aptElev

This commit is contained in:
daveluff 2003-06-03 14:08:24 +00:00
parent 9b353d3665
commit f61dbf1382

View 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() {