From: curt Date: Mon, 3 Feb 2003 21:57:07 +0000 (+0000) Subject: Register that we have been inited so the init routine isn't called repeatedly. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2ce74e14b1b7e067956a423e554cf2128b3cfc1b;p=flightgear.git Register that we have been inited so the init routine isn't called repeatedly. --- diff --git a/src/FDM/NullFDM.cxx b/src/FDM/NullFDM.cxx index 049a8276b..021330346 100644 --- a/src/FDM/NullFDM.cxx +++ b/src/FDM/NullFDM.cxx @@ -41,6 +41,7 @@ FGNullFDM::~FGNullFDM() { // for each subsequent iteration through the EOM void FGNullFDM::init() { // cout << "FGNullFDM::init()" << endl; + set_inited( true ); }