mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
@@ -128,7 +128,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
NewVis vis;
|
||||
vis.LowerAlt = visibilityLayer.getBase().value(CLengthUnit::m());
|
||||
vis.UpperAlt = visibilityLayer.getCeiling().value(CLengthUnit::m());
|
||||
vis.UpperAlt = visibilityLayer.getTop().value(CLengthUnit::m());
|
||||
vis.Range = visibilityLayer.getVisibility().value(CLengthUnit::mi()) * 100;
|
||||
nw.Vis = vis;
|
||||
}
|
||||
@@ -179,7 +179,7 @@ namespace BlackSimPlugin
|
||||
default: cloud.Type = 0;
|
||||
}
|
||||
|
||||
cloud.UpperAlt = cloudLayer.getCeiling().value(CLengthUnit::m());
|
||||
cloud.UpperAlt = cloudLayer.getBase().value(CLengthUnit::m());
|
||||
nw.Cloud[nw.nCloudsCtr++] = cloud;
|
||||
}
|
||||
|
||||
|
||||
@@ -544,7 +544,7 @@ namespace BlackSimPlugin
|
||||
for (const auto &cloudLayer : cloudLayers)
|
||||
{
|
||||
int base = cloudLayer.getBase().value(CLengthUnit::m());
|
||||
int top = cloudLayer.getCeiling().value(CLengthUnit::m());
|
||||
int top = cloudLayer.getTop().value(CLengthUnit::m());
|
||||
|
||||
int coverage = 0;
|
||||
switch(cloudLayer.getCoverage())
|
||||
|
||||
Reference in New Issue
Block a user