Ref T182, matching log can be used with calculateScore

This commit is contained in:
Klaus Basan
2017-11-07 01:42:22 +01:00
parent 89db83f3c7
commit 31e47f013c
3 changed files with 8 additions and 6 deletions

View File

@@ -723,7 +723,7 @@ namespace BlackMisc
for (const CAircraftModel &model : *this)
{
const int score = model.calculateScore(remoteModel, preferColorLiveries);
const int score = model.calculateScore(remoteModel, preferColorLiveries, log);
if (ignoreZeroScores && score < 1) { continue; }
scoreMap.insertMulti(score, model);
}