diff --git a/src/Input/input.cxx b/src/Input/input.cxx index dea8995c5..55a311e60 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -179,6 +179,12 @@ FGInput::init () fgRegisterMouseMotionHandler(mouseMotionHandler); } +void +FGInput::reinit () +{ + init(); +} + void FGInput::update (double dt) { diff --git a/src/Input/input.hxx b/src/Input/input.hxx index 755b6d66f..85403fa4a 100644 --- a/src/Input/input.hxx +++ b/src/Input/input.hxx @@ -194,6 +194,7 @@ public: // Implementation of SGSubsystem. // virtual void init (); + virtual void reinit (); virtual void update (double dt); virtual void suspend (); virtual void resume ();