X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIStatic.cxx;h=83be7c8d60ded55d3d1e58ed90907dd261dcc927;hb=47a7952f893dcb3d0b1372907cac375fedf81703;hp=148aaacfa0b97859ceafe761fa69d95e95432495;hpb=ab83702c16d7c5c2fea991ab485ff81f9778bf92;p=flightgear.git diff --git a/src/AIModel/AIStatic.cxx b/src/AIModel/AIStatic.cxx index 148aaacfa..83be7c8d6 100644 --- a/src/AIModel/AIStatic.cxx +++ b/src/AIModel/AIStatic.cxx @@ -16,37 +16,32 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifdef HAVE_CONFIG_H # include #endif -#include #include
#include
#include #include #include -SG_USING_STD(string); +using std::string; #include "AIStatic.hxx" -FGAIStatic::FGAIStatic(FGAIManager* mgr) { - manager = mgr; - _type_str = "static"; - _otype = otStatic; +FGAIStatic::FGAIStatic() : FGAIBase(otStatic) { } FGAIStatic::~FGAIStatic() { } - -bool FGAIStatic::init() { - return FGAIBase::init(); +bool FGAIStatic::init(bool search_in_AI_path) { + return FGAIBase::init(search_in_AI_path); } void FGAIStatic::bind() {