X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Faltimeter.cxx;h=0f8d5fc2c7a1ab184c0f790eccf3205c78b0e754;hb=3a11f8ae2843c1f3629f4168e5b10c3993c7bd3e;hp=10ae3da29aefabf1b5ba968cbdbe34cc54d71893;hpb=570b19b2ff5b5400b2bcc66723a6cc0a05c94caa;p=flightgear.git diff --git a/src/Instrumentation/altimeter.cxx b/src/Instrumentation/altimeter.cxx index 10ae3da29..0f8d5fc2c 100644 --- a/src/Instrumentation/altimeter.cxx +++ b/src/Instrumentation/altimeter.cxx @@ -15,6 +15,10 @@ // // Note non-default name, quantum, and tau values. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include @@ -43,6 +47,7 @@ Altimeter::init () SGPropertyNode *node = fgGetNode(branch.c_str(), _num, true ); raw_PA = 0.0; + _kollsman = 0.0; _pressure_node = fgGetNode(_static_pressure.c_str(), true); _serviceable_node = node->getChild("serviceable", 0, true); _setting_node = node->getChild("setting-inhg", 0, true);