From 0b55a915b43eb18cdab62acfbe68713f4bc65fe7 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 15 Oct 1999 22:21:09 +0000 Subject: [PATCH] Wire in the balloon sim. --- src/Main/Makefile.am | 1 + src/Main/fg_init.cxx | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Main/Makefile.am b/src/Main/Makefile.am index 72acdb500..5fac9633a 100644 --- a/src/Main/Makefile.am +++ b/src/Main/Makefile.am @@ -36,6 +36,7 @@ fgfs_LDADD = \ $(top_builddir)/Simulator/Cockpit/libCockpit.a \ $(top_builddir)/Simulator/Controls/libControls.a \ $(top_builddir)/Simulator/FDM/libFlight.a \ + $(top_builddir)/Simulator/FDM/Balloon/libBalloon.a \ $(top_builddir)/Simulator/FDM/External/libExternal.a \ $(top_builddir)/Simulator/FDM/JSBsim/libJSBsim.a \ $(top_builddir)/Simulator/FDM/LaRCsim/libLaRCsim.a \ diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 1b19c9d4c..84a7d693b 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -56,7 +56,7 @@ #include #include #include -// #include +#include #include #include #include @@ -232,9 +232,9 @@ bool fgInitSubsystems( void ) { cur_fdm_state = new FGLaRCsim; } else if ( current_options.get_flight_model() == FGInterface::FG_JSBSIM ) { cur_fdm_state = new FGJSBsim; - // } else if ( current_options.get_flight_model() == - // FGInterface::FG_BALLOONSIM ) { - // cur_fdm_state = new FGBalloonSim; + } else if ( current_options.get_flight_model() == + FGInterface::FG_BALLOONSIM ) { + cur_fdm_state = new FGBalloonSim; } else if ( current_options.get_flight_model() == FGInterface::FG_MAGICCARPET ) { cur_fdm_state = new FGMagicCarpet; -- 2.39.5