mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T232, aircraft can be re-added or removed via "dot-commands"
* can be used for testing * utility functions to find inconsistent aircraft states * reset highlight state
This commit is contained in:
@@ -968,6 +968,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
// make sure they are not added again
|
||||
// cleaning here is somewhat redundant, but double checks
|
||||
this->resetHighlighting();
|
||||
m_addPendingAircraft.clear();
|
||||
m_addAgainAircraftWhenRemoved.clear();
|
||||
|
||||
@@ -978,7 +979,6 @@ namespace BlackSimPlugin
|
||||
{
|
||||
if (this->physicallyRemoveRemoteAircraft(cs)) { r++; }
|
||||
}
|
||||
this->clearAllRemoteAircraftData();
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user