Bladeren bron

initialize the complete inbound after the creation

Sven Czarnian 3 jaren geleden
bovenliggende
commit
4e635514f1
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      src/types/Inbound.cpp

+ 1 - 0
src/types/Inbound.cpp

@@ -42,6 +42,7 @@ Inbound::Inbound(EuroScopePlugIn::CRadarTarget& target, const aman::AircraftSche
         m_resetFilter(true) {
         m_resetFilter(true) {
     this->createWindTables(wind);
     this->createWindTables(wind);
     this->updatePrediction(target, inbound);
     this->updatePrediction(target, inbound);
+    this->update(target);
 }
 }
 
 
 void Inbound::createWindTables(const google::protobuf::RepeatedPtrField<aman::WindData>& wind) {
 void Inbound::createWindTables(const google::protobuf::RepeatedPtrField<aman::WindData>& wind) {