Skip to content

Commit

Permalink
Radar: Hotfix 5
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiVChr committed Jan 17, 2022
1 parent 11525a4 commit cb0ef9e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Nasal/radar/apg-68.nas
Original file line number Diff line number Diff line change
Expand Up @@ -2874,8 +2874,11 @@ var TerrainMapper = {
me.reflection = 1;
} elsif (!gm_geod[1].solid) {
me.reflection = 0.05;
if (me.testElev < me.minElev) {
me.minElev = me.testElev;
if (me.gm_geod[0] != nil) {
me.testElev = me.gm_geod[0]*M2FT;
if (me.testElev < me.minElev) {
me.minElev = me.testElev;
}
}
} else {
me.retur = me.howReflective(gm_geod[1]);
Expand Down

0 comments on commit cb0ef9e

Please sign in to comment.