]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIBase.hxx
David Culp:
[flightgear.git] / src / AIModel / AIBase.hxx
index 4f17130592d5ef908ca436b5ea60f1b3f7ed74d1..4d1f630b1915516948a57e8ea3e3a1e342c2e88f 100644 (file)
@@ -70,7 +70,8 @@ typedef struct {
    double azimuth;            // used by ballistic objects
    double elevation;          // used by ballistic objects
    double rudder;             // used by ship objects
-   double strength;           // used by thermal and storm objects
+   double strength;           // used by thermal 
+   double turb_strength;      // used by storm objects
    double diameter;           // used by thermal and storm objects
    double height_msl;         // used by thermal and storm objects
    double eda;                // used by ballistic objects
@@ -108,7 +109,7 @@ public:
     FGAIBase();
     virtual ~FGAIBase();
     virtual void update(double dt);
-    inline Point3D GetPos() { return(pos); }
+    inline const Point3D& GetPos() const { return(pos); }
 
     enum object_type { otNull = 0, otAircraft, otShip, otCarrier, otBallistic,
                        otRocket, otStorm, otThermal, otStatic,