1
0
Fork 0

One more divide by zero fix from Torsten.

This commit is contained in:
jmt 2009-09-15 15:34:36 +00:00 committed by Tim Moore
parent ebf5dcb828
commit bf830f681d

View file

@ -271,7 +271,7 @@ FGNavRadio::unbind ()
double FGNavRadio::adjustNavRange( double stationElev, double aircraftElev,
double nominalRange )
{
if (nominalRange < 0.0) {
if (nominalRange <= 0.0) {
nominalRange = FG_NAV_DEFAULT_RANGE;
}