Ref T492, alias in model lists and model

Search for alias and modelstring in matching
This commit is contained in:
Klaus Basan
2019-01-05 12:18:14 +01:00
committed by Mat Sutcliffe
parent 80e925fe80
commit 58cfdd1bb9
6 changed files with 31 additions and 6 deletions

View File

@@ -991,7 +991,7 @@ namespace BlackCore
return CAircraftModel();
}
CAircraftModel model = models.findFirstByModelStringOrDefault(remoteAircraft.getModelString());
CAircraftModel model = models.findFirstByModelStringAliasOrDefault(remoteAircraft.getModelString());
if (log)
{
if (model.hasModelString())