]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/agradar.cxx
adf: fix "in-range" node
[flightgear.git] / src / Instrumentation / agradar.cxx
index 0688a8ff8b97b79df3849663848a2d80fb42f1a0..c464ef3e0b4cb7ae2dc2a869a54d9ccd9f931c0d 100644 (file)
@@ -189,7 +189,6 @@ agRadar::setUserVec(double az, double el)
     float yaw   = _user_hdg_deg_node->getDoubleValue();
     float pitch = _user_pitch_deg_node->getDoubleValue();
     float roll  = _user_roll_deg_node->getDoubleValue();
-    int mode    = _radar_mode_control_node->getIntValue();
     double tilt = _Instrument->getDoubleValue("tilt");
     double trk  = _Instrument->getDoubleValue("trk");
     bool roll_stab   = _Instrument->getBoolValue("stabilisation/roll");