// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include "AITanker.hxx"
}
void FGAITanker::Run(double dt) {
- FGAIAircraft::Run(dt);
+ //FGAIAircraft::Run(dt);
//###########################//
// do calculations for radar //
contact = false;
}
}
+
+
+void FGAITanker::update(double dt) {
+ FGAIAircraft::update(dt);
+ Run(dt);
+ Transform();
+}