mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
Ref T444, Ref T471 style/comment
This commit is contained in:
committed by
Mat Sutcliffe
parent
7be54fde87
commit
b5ffa57fe8
@@ -238,7 +238,7 @@ namespace BlackSimPlugin
|
|||||||
case CCloudLayer::Scattered: cloud.Coverage = 4; break;
|
case CCloudLayer::Scattered: cloud.Coverage = 4; break;
|
||||||
case CCloudLayer::Broken: cloud.Coverage = 6; break;
|
case CCloudLayer::Broken: cloud.Coverage = 6; break;
|
||||||
case CCloudLayer::Overcast: cloud.Coverage = 8; break;
|
case CCloudLayer::Overcast: cloud.Coverage = 8; break;
|
||||||
default: cloud.Coverage = 0;
|
default: cloud.Coverage = 0; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
cloud.Deviation = 0;
|
cloud.Deviation = 0;
|
||||||
@@ -337,6 +337,10 @@ namespace BlackSimPlugin
|
|||||||
bool aircraftPartsN = !aircraftParts;
|
bool aircraftPartsN = !aircraftParts;
|
||||||
|
|
||||||
//! \todo KB 2018-11 BUG fix for broken connection, needs to go as soon as issue is fixed
|
//! \todo KB 2018-11 BUG fix for broken connection, needs to go as soon as issue is fixed
|
||||||
|
//! Seems to be fixed with
|
||||||
|
//! a) https://dev.swift-project.org/T471
|
||||||
|
//! b) https://dev.swift-project.org/T444
|
||||||
|
//! Remove after 2019-03 if issue is resolved
|
||||||
if (!(FSUIPC_Read(0x0238, 3, localFsTimeRaw, &dwResult) && FSUIPC_Process(&dwResult)))
|
if (!(FSUIPC_Read(0x0238, 3, localFsTimeRaw, &dwResult) && FSUIPC_Process(&dwResult)))
|
||||||
{
|
{
|
||||||
FSUIPC_Close();
|
FSUIPC_Close();
|
||||||
|
|||||||
Reference in New Issue
Block a user