From: frohlich Date: Fri, 9 Feb 2007 05:41:42 +0000 (+0000) Subject: Modified Files: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9bb55e78be6c6a9da4be26a3671e7d4bf6332d50;p=flightgear.git Modified Files: navradio.cxx: Olaf Flebbe: Use bool for booleans. --- diff --git a/src/Instrumentation/navradio.cxx b/src/Instrumentation/navradio.cxx index 1eae58fe1..5e6d6585c 100644 --- a/src/Instrumentation/navradio.cxx +++ b/src/Instrumentation/navradio.cxx @@ -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() ) {