]> git.mxchange.org Git - flightgear.git/commitdiff
Modified Files:
authorfrohlich <frohlich>
Fri, 9 Feb 2007 05:41:42 +0000 (05:41 +0000)
committerfrohlich <frohlich>
Fri, 9 Feb 2007 05:41:42 +0000 (05:41 +0000)
navradio.cxx: Olaf Flebbe: Use bool for booleans.

src/Instrumentation/navradio.cxx

index 1eae58fe1ffb9e5b1537ec57392b029d00ead7b4..5e6d6585c8cb22f5c5038dc9f54092f5d8144540 100644 (file)
@@ -443,7 +443,7 @@ FGNavRadio::update(double dt)
         //////////////////////////////////////////////////////////
         // compute to/from flag status
         //////////////////////////////////////////////////////////
-        double value = false;
+        bool value = false;
         double offset = fabs(radial - target_radial);
         if ( tofrom_serviceable ) {
             if ( nav_slaved_to_gps_node->getBoolValue() ) {