From 9bb55e78be6c6a9da4be26a3671e7d4bf6332d50 Mon Sep 17 00:00:00 2001 From: frohlich Date: Fri, 9 Feb 2007 05:41:42 +0000 Subject: [PATCH] Modified Files: navradio.cxx: Olaf Flebbe: Use bool for booleans. --- src/Instrumentation/navradio.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ) {