]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIWingman.hxx
#545: Fix ATC chatter sound settings being ignored
[flightgear.git] / src / AIModel / AIWingman.hxx
index 038df5d0827c9292a834f2d06acbc45c69f290ed..c291069ba3bd773ba5f7969e2918272783b94325 100644 (file)
@@ -35,17 +35,16 @@ public:
     virtual ~FGAIWingman();
 
     virtual void readFromScenario(SGPropertyNode* scFileNode);
+
+    bool init(bool search_in_AI_path=false);
     virtual void bind();
     virtual void unbind();
-    virtual const char* getTypeString(void) const { return "wingman"; }
+    virtual void reinit();
+    virtual void update (double dt);
 
-    bool init(bool search_in_AI_path=false);
+    virtual const char* getTypeString(void) const { return "wingman"; }
 
 private:
-
-    virtual void reinit() { init(); }
-    virtual void update (double dt);
-
     void formateToAC(double dt);
     void Break(double dt);
     void Join(double dt);
@@ -67,7 +66,7 @@ private:
     double _coeff_bnk; //dimensionless coefficient
     double _coeff_spd; //dimensionless coefficient
 
-
+    SGPropertyNode_ptr user_WoW_node;
 
     inline void setFormate(bool f);
     inline void setTgtHdg(double hdg);