]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIStatic.cxx
model paging patch from Till Busch
[flightgear.git] / src / AIModel / AIStatic.cxx
index 148aaacfa0b97859ceafe761fa69d95e95432495..a480e2eeedf5517468b57ebf267b3b0efc502b4d 100644 (file)
@@ -16,7 +16,7 @@
 //
 // 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 <config.h>
@@ -34,19 +34,15 @@ SG_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() {