[XPlane] Model set must not contain ACF models

Discussion: see https://discordapp.com/channels/539048679160676382/539064750055751690/648974956306366499
This commit is contained in:
Klaus Basan
2019-11-26 22:49:11 +01:00
committed by Mat Sutcliffe
parent b9ea40e8d1
commit 386a0ccd5d
4 changed files with 18 additions and 1 deletions

View File

@@ -947,6 +947,11 @@ namespace BlackMisc
return diff;
}
int CAircraftModelList::removeXPlaneFlyablePlanes()
{
return this->removeIfExcluded();
}
int CAircraftModelList::removeByDistributor(const CDistributor &distributor)
{
return this->removeIf(&CAircraftModel::getDistributor, distributor);