]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIShip.cxx
Roy Vegard Ovesen:
[flightgear.git] / src / AIModel / AIShip.cxx
index bd9ebb09fbdf177baa998967757e3ba2ae5d0684..c1d4ce809a3c081241964f7818e87187df6f7236 100644 (file)
 #include "AIShip.hxx"
 
 
-FGAIShip::FGAIShip() {
+FGAIShip::FGAIShip(FGAIManager* mgr) {
+   manager = mgr;
+   _type_str = "ship";
+   _otype = otShip;
+
    hdg_lock = false;
    rudder = 0.0;
-   _type_str = "ship";
 }
 
 FGAIShip::~FGAIShip() {