X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIShip.hxx;h=591aa616683bdce3a7ff8012fbff4934722dc957;hb=f7cd808f2313a8b35165b44cbf805f2d57e2c567;hp=c240dabf363a74e90128c045533518d3596e57ab;hpb=edd83dd7e8fd7162ae49da6113ad797c68769f20;p=flightgear.git diff --git a/src/AIModel/AIShip.hxx b/src/AIModel/AIShip.hxx index c240dabf3..591aa6166 100644 --- a/src/AIModel/AIShip.hxx +++ b/src/AIModel/AIShip.hxx @@ -42,7 +42,7 @@ public: virtual void unbind(); virtual void update(double dt); void setFlightPlan(FGAIFlightPlan* f); - void setName(const string&); +// void setName(const string&); void setRudder(float r); void setRoll(double rl); void ProcessFlightPlan( double dt); @@ -81,13 +81,13 @@ public: double _missed_range, _tow_angle, _wait_count, _missed_count,_wp_range; double _dt_count, _next_run; - FGAIFlightPlan::waypoint* prev; // the one behind you - FGAIFlightPlan::waypoint* curr; // the one ahead - FGAIFlightPlan::waypoint* next; // the next plus 1 + FGAIWaypoint* prev; // the one behind you + FGAIWaypoint* curr; // the one ahead + FGAIWaypoint* next; // the next plus 1 protected: - string _name; // The name of this ship. +// string _name; // The name of this ship. private: