mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
eb014639fe
commit
08d7cddfe5
@@ -77,7 +77,7 @@ namespace BlackCore
|
||||
return true;
|
||||
}
|
||||
|
||||
// will be added with next snapshot onRecalculatedRenderedAircraft
|
||||
// will be removed with next snapshot onRecalculatedRenderedAircraft
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -98,7 +98,11 @@ namespace BlackCore
|
||||
if (!remoteAircraft.isEnabled()) { return false; }
|
||||
|
||||
// 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
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user