One more divide by zero fix from Torsten.
This commit is contained in:
parent
ebf5dcb828
commit
bf830f681d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue