diff --git a/src/FDM/flight.cxx b/src/FDM/flight.cxx index 2694fa7f4..3ce32a6c8 100644 --- a/src/FDM/flight.cxx +++ b/src/FDM/flight.cxx @@ -51,15 +51,16 @@ inline void init_vec(FG_VECTOR_3 vec) { } // Constructor -FGInterface::FGInterface() { +FGInterface::FGInterface() + : remainder(0) +{ _setup(); } -FGInterface::FGInterface( double dt ) { +FGInterface::FGInterface( double dt ) + : remainder(0) +{ _setup(); -// delta_t = dt; -// remainder = elapsed = multi_loop = 0; - remainder = 0; } // Destructor