Formatting, #825 (matching)

This commit is contained in:
Klaus Basan
2017-03-08 01:17:50 +01:00
committed by Mathew Sutcliffe
parent eabb576b67
commit 35c685b344
5 changed files with 16 additions and 16 deletions

View File

@@ -116,7 +116,7 @@ namespace BlackMisc
int score = 0;
if (this->hasValidDesignator() && this->getDesignator() == otherCode.getDesignator())
{
score += 50;
score += 50; // same designator
if (this->getRank() == 0) { score += 15; }
else if (this->getRank() == 1) { score += 12; }

View File

@@ -251,7 +251,7 @@ namespace BlackMisc
//! As a brief HTML summary (e.g. used in tooltips)
QString asHtmlSummary() const;
//! Considers rank, manufacturer and family 0..90
//! Considers rank, manufacturer and family 0..100
//! \remark normally used with a selected set of ICAO codes or combined types
int calculateScore(const CAircraftIcaoCode &otherCode) const;

View File

@@ -405,7 +405,7 @@ namespace BlackMisc
if (score == 0) { return 0; }
if (this->isAirlineStandardLivery() && !preferColorLiveries) { score += 10; }
// overrate non airline liveries
// overrate non airline liveries / color liveries
if (preferColorLiveries)
{
if (this->isColorLivery() || !this->hasValidAirlineDesignator())