mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Ref T261, added toFullJson in parts
* needed, since the "is full" attribute needs to be added * fixed usage in network vatlib
This commit is contained in:
committed by
Roland Winklmeier
parent
5bf21c2937
commit
ab0c34b16a
@@ -271,7 +271,7 @@ namespace BlackMisc
|
||||
void CRemoteAircraftProvider::storeAircraftParts(const CCallsign &callsign, const QJsonObject &jsonObject, int currentOffset)
|
||||
{
|
||||
const CSimulatedAircraft remoteAircraft(this->getAircraftInRangeForCallsign(callsign));
|
||||
const bool isFull = jsonObject.value("is_full_data").toBool();
|
||||
const bool isFull = jsonObject.value(CAircraftParts::attributeNameIsFullJson()).toBool();
|
||||
|
||||
// If we are not yet synchronized, we throw away any incremental packet
|
||||
if (!remoteAircraft.hasValidCallsign()) { return; }
|
||||
|
||||
Reference in New Issue
Block a user