]> 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 dcd1a66ce58245749ab21b5e311b61433e793ac8..0ecda901c71b47092d4ee7ff04bf2139bd1a8dde 100644 (file)
@@ -114,7 +114,7 @@ ADF::update (double delta_time_sec)
 
                                 // If it's off, don't bother.
     string mode = _mode_node->getStringValue();
-    if (!_transmitter_valid || (mode != string("bfo") && mode != string("adf")))
+    if (!_transmitter_valid || (mode != "bfo" && mode != "adf"))
     {
         set_bearing(delta_time_sec, 90);
         _ident_node->setStringValue("");