Ref T182, livery/ICAO classed formatting

This commit is contained in:
Klaus Basan
2017-11-06 01:44:39 +01:00
parent 8e9411edb1
commit 0f133f6505
5 changed files with 136 additions and 214 deletions

View File

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