mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Ref T129, prephase formatting
This commit is contained in:
committed by
Mathew Sutcliffe
parent
e5d07128ae
commit
4be7a61922
@@ -300,9 +300,9 @@ namespace BlackCore
|
||||
if (clientType.startsWith('p'))
|
||||
{
|
||||
// Pilot section
|
||||
const double groundspeed = clientPartsMap["groundspeed"].toDouble();
|
||||
const double groundspeedKts = clientPartsMap["groundspeed"].toDouble();
|
||||
CAircraftSituation situation(position);
|
||||
situation.setGroundSpeed(CSpeed(groundspeed, CSpeedUnit::kts()));
|
||||
situation.setGroundSpeed(CSpeed(groundspeedKts, CSpeedUnit::kts()));
|
||||
CSimulatedAircraft currentAircraft(user.getCallsign().getStringAsSet(), user, situation);
|
||||
|
||||
QString aircraftIcaoCode = clientPartsMap["planned_aircraft"];
|
||||
|
||||
Reference in New Issue
Block a user