Slightly alter the way th season property is calculated.
This commit is contained in:
parent
0058ef27c5
commit
f700d46452
1 changed files with 1 additions and 1 deletions
|
@ -918,7 +918,7 @@ void FGClimate::set_environment()
|
|||
fgSetDouble("/environment/surface/wetness-set", _wetness);
|
||||
fgSetDouble("/environment/surface/lichen-cover-factor", _lichen_cover);
|
||||
|
||||
double season = std::min(3.0*_season_transistional, 2.0);
|
||||
double season = 1.7*std::pow(_season_transistional, 4.0);
|
||||
if (_gl.has_autumn && season > 0.01)
|
||||
{
|
||||
if (_is_autumn > 0.01) { // autumn
|
||||
|
|
Loading…
Add table
Reference in a new issue