mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #576, no airline validation with color liveries and no exclusion of special designators
This commit is contained in:
@@ -98,6 +98,12 @@ namespace BlackMisc
|
||||
return (this->hasValidDesignator() && this->getDesignator() != getUnassignedDesignator());
|
||||
}
|
||||
|
||||
bool CAircraftIcaoCode::hasSpecialDesignator() const
|
||||
{
|
||||
if (!this->hasDesignator()) { return false; }
|
||||
return getSpecialDesignators().contains(this->getDesignator());
|
||||
}
|
||||
|
||||
bool CAircraftIcaoCode::isIataSameAsDesignator() const
|
||||
{
|
||||
return hasDesignator() && hasIataCode() && m_iataCode == m_designator;
|
||||
|
||||
Reference in New Issue
Block a user