Remove aircrafts limitation in FS9 plugin

It should not be the plugins descision to limit
the number of displayed aircrafts. Triggered an
assert
This commit is contained in:
Roland Winklmeier
2014-10-08 01:34:11 +02:00
parent 4950d63702
commit c94295e473

View File

@@ -110,13 +110,6 @@ namespace BlackSimPlugin
void CSimulatorFs9::addRemoteAircraft(const CCallsign &callsign, const BlackMisc::Aviation::CAircraftSituation &initialSituation)
{
if (m_hashFs9Clients.size() >= 20)
{
// Only add a maximum number of 20 clients.
// FIXME: We need a smart method to get the 20 nearest aircrafts. If someone logs in
// nearby we need to kick out the one with max distance.
return;
}
// Create a new client thread, set update frequency to 25 ms and start it
QThread *clientThread = new QThread(this);