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:
Klaus Basan
2015-01-18 22:02:07 +01:00
parent 054db94997
commit 4e1db5c837
19 changed files with 100 additions and 47 deletions

View File

@@ -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