Replace round by simgear::SGMiscd::roundToInt()
to make it compile again under MSVC (sigh)
This commit is contained in:
parent
209a93c4ea
commit
13db36f679
1 changed files with 1 additions and 1 deletions
|
@ -729,7 +729,7 @@ bool FGJSBsim::copy_to_JSBsim()
|
|||
// turbulence_gain normalized: 0: none, 1/3: light, 2/3: moderate, 3/3: severe
|
||||
double tmp = turbulence_gain->getDoubleValue();
|
||||
Atmosphere->SetProbabilityOfExceedence(
|
||||
round(TurbulenceSeverityTable.GetValue( tmp ) )
|
||||
SGMiscd::roundToInt(TurbulenceSeverityTable.GetValue( tmp ) )
|
||||
);
|
||||
Atmosphere->SetWindspeed20ft(ground_wind->getDoubleValue());
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue