replace 'innovative' clamping method with something more traditional
This commit is contained in:
parent
1a74b726d0
commit
b4572711fa
1 changed files with 4 additions and 1 deletions
|
@ -375,7 +375,10 @@ void FGAIMgr::GenerateSimpleAirportTraffic(const string& ident, double min_dist)
|
|||
double d = dclGetHorizontalSeparation(userpos, aptpos); // in meters
|
||||
|
||||
int lev = fgGetInt("/sim/ai-traffic/level");
|
||||
if(lev < 1 || lev > 3) lev = 2;
|
||||
if(lev < 1)
|
||||
return;
|
||||
if (lev > 3)
|
||||
lev = 3;
|
||||
if(visibility < 6000) lev = 1;
|
||||
//cout << "level = " << lev << '\n';
|
||||
|
||||
|
|
Loading…
Reference in a new issue