1
0
Fork 0

Patch from Cameron Moore:

The patch fixes the uninitialized values by explicitly starting
everything at sea_level values.
This commit is contained in:
david 2002-06-28 17:41:18 +00:00
parent b53cd9c59f
commit 0d48bae1ef

View file

@ -44,10 +44,14 @@
FGEnvironment::FGEnvironment()
: _temperature_degc_table(new SGInterpTable),
_pressure_inhg_table(new SGInterpTable),
elevation_ft(0),
visibility_m(32000),
temperature_sea_level_degc(15),
temperature_degc(15),
dewpoint_sea_level_degc(5), // guess
dewpoint_degc(5),
pressure_sea_level_inhg(29.92),
pressure_inhg(29.92),
wind_from_heading_deg(0),
wind_speed_kt(0),
wind_from_north_fps(0),