]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/adf.cxx
ignore resets for now because every z/Z key press would trigger a call to NOAA. We...
[flightgear.git] / src / Instrumentation / adf.cxx
index 7221da184d1d7225ae9f08070907fe46f12a0b0b..0ecda901c71b47092d4ee7ff04bf2139bd1a8dde 100644 (file)
@@ -114,7 +114,8 @@ ADF::update (double delta_time_sec)
 
                                 // If it's off, don't bother.
     string mode = _mode_node->getStringValue();
-    if (!_transmitter_valid || (mode != "bfo" && mode != "adf")) {
+    if (!_transmitter_valid || (mode != "bfo" && mode != "adf"))
+    {
         set_bearing(delta_time_sec, 90);
         _ident_node->setStringValue("");
         return;