mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +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
|
||||
|
||||
Reference in New Issue
Block a user