The 'if' condition is based on a value that was not initialised, which might cause random jumps.
kr_87.cxx:170: if ( adf_valid ) { m. PS: CC to the list, because debugging with valgrind can be quite time consuming and other people shouldn't debug the same bugs during the phase of patch approval. Might have happened already, though. (Hi Cameron :-) Index: kr_87.cxx =================================================================== RCS file: /var/cvs/FlightGear-0.7/FlightGear/src/Cockpit/kr_87.cxx,v retrieving revision 1.1 diff -u -3 -p -r1.1 kr_87.cxx --- kr_87.cxx 15 Jun 2002 22:05:08 -0000 1.1 +++ kr_87.cxx 27 Jun 2002 17:59:17 -0000 @@ -74,6 +74,7 @@ FGKR_87::FGKR_87() : lat_node(fgGetNode("/position/latitude-deg", true)), alt_node(fgGetNode("/position/altitude-ft", true)), need_update(true), + adf_valid(false), adf_freq(0.0), adf_alt_freq(0.0), adf_vol_btn(0.0) _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel