From 26011dd9c630f69e0267ed98d61c749754ce1e68 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Mon, 5 Dec 2011 21:40:01 +0100 Subject: [PATCH] Fix a typo in the radio propagation code And for sentimental reason: keep the VC90 project file working --- projects/VC90/FlightGear/FlightGear.vcproj | 24 ++++++++++++++++++++++ src/Radio/itm.cpp | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/projects/VC90/FlightGear/FlightGear.vcproj b/projects/VC90/FlightGear/FlightGear.vcproj index 364454c1b..fd2548b0a 100644 --- a/projects/VC90/FlightGear/FlightGear.vcproj +++ b/projects/VC90/FlightGear/FlightGear.vcproj @@ -3198,6 +3198,30 @@ > + + + + + + + + + + + + diff --git a/src/Radio/itm.cpp b/src/Radio/itm.cpp index 1b970d067..184ac3765 100644 --- a/src/Radio/itm.cpp +++ b/src/Radio/itm.cpp @@ -1000,7 +1000,7 @@ double avar(double zzt, double zzl, double zzc, prop_type &prop, propv_type &pro kdv = propv.mdvar; no_situation_variability = kdv >= 20; if (no_situation_variability) - no_situation_variability -= 20; + kdv -= 20; no_location_variability = kdv >= 10; if (no_location_variability)