mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
* make sure manually set model is not subject of model matching * added convenience member functions to detect manually set models
This commit is contained in:
@@ -143,7 +143,7 @@ namespace BlackCore
|
||||
if (c > 0)
|
||||
{
|
||||
// really changed something
|
||||
emit this->remoteAircraftChanged(changedAircraft);
|
||||
emit this->remoteAircraftChanged(this->getRemoteAircraft().findFirstByCallsign(changedAircraft.getCallsign()));
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace BlackCore
|
||||
virtual int removeRemoteAircraft(const BlackMisc::Aviation::CCallsign &callsign) = 0;
|
||||
|
||||
//! Change remote aircraft per property
|
||||
virtual int changeRemoteAircraft(const BlackMisc::Simulation::CSimulatedAircraft &changedAircraft, const BlackMisc::CPropertyIndexVariantMap &changeValues) = 0;
|
||||
virtual int changeRemoteAircraft(const BlackMisc::Simulation::CSimulatedAircraft &toChangeAircraft, const BlackMisc::CPropertyIndexVariantMap &changeValues) = 0;
|
||||
|
||||
//! Update own aircraft cockpit (usually from context)
|
||||
virtual bool updateOwnSimulatorCockpit(const BlackMisc::Aviation::CAircraft &aircraft) = 0;
|
||||
|
||||
Reference in New Issue
Block a user