mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Fixes of MS'review as proposed
https://dev.vatsim-germany.org/issues/368#change-2380 (1,2) https://dev.vatsim-germany.org/issues/364#change-2379 (1-11,13)
This commit is contained in:
@@ -144,7 +144,7 @@ namespace BlackCore
|
||||
emit this->changedAircraft(aircraft, originator);
|
||||
|
||||
// now set value
|
||||
this->m_ownAircraft.update(aircraft);
|
||||
this->m_ownAircraft.setAircraft(aircraft);
|
||||
changed = true;
|
||||
}
|
||||
return changed;
|
||||
@@ -421,7 +421,7 @@ namespace BlackCore
|
||||
*/
|
||||
const CAircraft &CContextOwnAircraft::getAviationAircraft() const
|
||||
{
|
||||
return static_cast<CAircraft const &>(this->m_ownAircraft);
|
||||
return this->m_ownAircraft;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -291,7 +291,7 @@ namespace BlackCore
|
||||
if (m_simulator)
|
||||
{
|
||||
// depending on shutdown order, network might already have been deleted
|
||||
//! \todo why do we need to disconnet context when we unload driver?
|
||||
//! \todo link with airspace monitor to be reviewed when airspace monitor becomes context
|
||||
if (this->getRuntime()->getIContextNetwork()->isUsingImplementingObject())
|
||||
{
|
||||
CContextNetwork *network = this->getRuntime()->getCContextNetwork();
|
||||
|
||||
Reference in New Issue
Block a user