]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/rad_alt.cxx
Typo in project file
[flightgear.git] / src / Instrumentation / rad_alt.cxx
index 14186459cf7758e27246a0a1f4a6175879cc9991..e26c24763415342e037cf21ca8ed225be71719ee 100644 (file)
@@ -25,6 +25,8 @@
 #  include "config.h"
 #endif
 
+#include <Main/fg_props.hxx>
+#include <Main/globals.hxx>
 #include "rad_alt.hxx"
 
 
@@ -134,8 +136,8 @@ radAlt::getDistanceAntennaToHit(SGVec3d nearestHit) const
 void
 radAlt::update_altitude()
 {
-    int mode           = _radar_mode_control_node->getIntValue();
-    double tilt        = _Instrument->getDoubleValue("tilt", -85);
+//    int mode           = _radar_mode_control_node->getIntValue();
+//    double tilt        = _Instrument->getDoubleValue("tilt", -85);
     double el_limit    = _Instrument->getDoubleValue("elev-limit", 15);
     double el_step     = _Instrument->getDoubleValue("elev-step-deg", 15);
     double az_limit    = _Instrument->getDoubleValue("az-limit-deg", 15);