refs #780, formatting simulator common class

This commit is contained in:
Klaus Basan
2016-10-24 16:48:28 +02:00
parent 99538dd2c2
commit 313aa9f679
2 changed files with 5 additions and 19 deletions

View File

@@ -92,7 +92,7 @@ namespace BlackSimPlugin
bool CSimulatorFsCommon::changeRemoteAircraftModel(const CSimulatedAircraft &aircraft)
{
// remove upfront, and then enable / disable again
auto callsign = aircraft.getCallsign();
const auto callsign = aircraft.getCallsign();
if (!isPhysicallyRenderedAircraft(callsign)) { return false; }
this->physicallyRemoveRemoteAircraft(callsign);
return this->changeRemoteAircraftEnabled(aircraft);