mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Fix finding of std. livery for a given airline.
This was ambigous in the past and could show wrong liveries if 2 or more liveries had the same airline code.
This commit is contained in:
@@ -184,6 +184,11 @@ namespace BlackMisc
|
||||
return (m_airline.hasValidDesignator());
|
||||
}
|
||||
|
||||
bool CLivery::isAirlineOperating() const
|
||||
{
|
||||
return this->isAirlineLivery() && this->getAirlineIcaoCode().isOperating();
|
||||
}
|
||||
|
||||
bool CLivery::isAirlineStandardLivery() const
|
||||
{
|
||||
if (isColorLivery()) { return false; }
|
||||
|
||||
Reference in New Issue
Block a user