1
0
Fork 0

Enable —-metar runway selection.

Thanks to Florent for the catch.
This commit is contained in:
James Turner 2017-03-19 22:41:07 +00:00
parent b1fa31fa09
commit 63d8c2fd83

View file

@ -698,10 +698,6 @@ bool initPosition()
bool finalizeMetar() bool finalizeMetar()
{ {
if (!fgGetBool("/environment/realwx/enabled")) {
return true;
}
double hdg = fgGetDouble( "/environment/metar/base-wind-dir-deg", 9999.0 ); double hdg = fgGetDouble( "/environment/metar/base-wind-dir-deg", 9999.0 );
string apt = fgGetString("/sim/presets/airport-id"); string apt = fgGetString("/sim/presets/airport-id");
double strthdg = fgGetDouble( "/sim/startup/options/heading-deg", 9999.0 ); double strthdg = fgGetDouble( "/sim/startup/options/heading-deg", 9999.0 );