1
0
Fork 0

_kollsman member not initialized

From Csaba Helasz
This commit is contained in:
Tim Moore 2009-01-26 09:09:08 +01:00
parent 194527a59a
commit 738e06e845

View file

@ -47,6 +47,7 @@ Altimeter::init ()
SGPropertyNode *node = fgGetNode(branch.c_str(), _num, true ); SGPropertyNode *node = fgGetNode(branch.c_str(), _num, true );
raw_PA = 0.0; raw_PA = 0.0;
_kollsman = 0.0;
_pressure_node = fgGetNode(_static_pressure.c_str(), true); _pressure_node = fgGetNode(_static_pressure.c_str(), true);
_serviceable_node = node->getChild("serviceable", 0, true); _serviceable_node = node->getChild("serviceable", 0, true);
_setting_node = node->getChild("setting-inhg", 0, true); _setting_node = node->getChild("setting-inhg", 0, true);