mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Ref T182, utility functions for model/model list
This commit is contained in:
@@ -623,9 +623,9 @@ namespace BlackCore
|
||||
|
||||
// VTOL
|
||||
ScoredModels map;
|
||||
if (remoteAircraft.isVtol() && modelSet.contains(&CAircraftModel::isVtol, true))
|
||||
if (remoteAircraft.isVtol() && modelSet.containsVtol())
|
||||
{
|
||||
usedModelSet = modelSet.findBy(&CAircraftModel::isVtol, true);
|
||||
usedModelSet = modelSet.findByVtolFlag(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user