Browse Source

initialize the complete inbound after the creation

Sven Czarnian 3 năm trước cách đây
mục cha
commit
4e635514f1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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) {
     this->createWindTables(wind);
     this->updatePrediction(target, inbound);
+    this->update(target);
 }
 
 void Inbound::createWindTables(const google::protobuf::RepeatedPtrField<aman::WindData>& wind) {