mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
refs #844, allow to remove ATC stations outside of range
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b98a1408ae
commit
2108422dc2
@@ -56,6 +56,11 @@ namespace BlackMisc
|
||||
return this->findBy(Predicates::MemberValid(&CAtcStation::getController)).transform(Predicates::MemberTransform(&CAtcStation::getController));
|
||||
}
|
||||
|
||||
int CAtcStationList::removeIfOutsideRange()
|
||||
{
|
||||
return this->removeIf(&CAtcStation::isInRange, false);
|
||||
}
|
||||
|
||||
int CAtcStationList::synchronizeWithBookedStation(CAtcStation &bookedAtcStation)
|
||||
{
|
||||
int c = 0;
|
||||
|
||||
Reference in New Issue
Block a user