mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
eb014639fe
commit
08d7cddfe5
@@ -77,7 +77,7 @@ namespace BlackCore
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// will be added with next snapshot onRecalculatedRenderedAircraft
|
// will be removed with next snapshot onRecalculatedRenderedAircraft
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -98,7 +98,11 @@ namespace BlackCore
|
|||||||
if (!remoteAircraft.isEnabled()) { return false; }
|
if (!remoteAircraft.isEnabled()) { return false; }
|
||||||
|
|
||||||
// if not restriced, directly change
|
// if not restriced, directly change
|
||||||
if (!renderingRestricted) { this->callPhysicallyAddRemoteAircraft(remoteAircraft); return true; }
|
if (!renderingRestricted)
|
||||||
|
{
|
||||||
|
this->callPhysicallyAddRemoteAircraft(remoteAircraft);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// restricted -> will be added with next snapshot onRecalculatedRenderedAircraft
|
// restricted -> will be added with next snapshot onRecalculatedRenderedAircraft
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user