]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AIEntity.hxx
Fix the nmea and garmin output to a) fake a GSA sentence, b) fix a y2k bug
[flightgear.git] / src / ATC / AIEntity.hxx
index 2ff7570491d58bb68f1bd9a6b9e5bc74b57f6111..436eb186d7233a087d225ceb0f9dc51b04f507f8 100644 (file)
@@ -49,6 +49,8 @@ public:
     // Send a transmission *TO* the AIEntity.
     // FIXME int code is a hack - eventually this will receive Alexander's coded messages.
     virtual void RegisterTransmission(int code);
+       
+       inline Point3D GetPos() { return(pos); }
 
 protected:
 
@@ -58,7 +60,7 @@ protected:
     double pitch;      //degrees
 
     char* model_path;  //Path to the 3D model
-    FGModelPlacement aip;
+    SGModelPlacement aip;
 
     void Transform();
 };