diff options
Diffstat (limited to 'engines/fullpipe/input.cpp')
-rw-r--r-- | engines/fullpipe/input.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/fullpipe/input.cpp b/engines/fullpipe/input.cpp index 767a0d5c44..03a77efdcf 100644 --- a/engines/fullpipe/input.cpp +++ b/engines/fullpipe/input.cpp @@ -51,6 +51,12 @@ CInputController::CInputController() { _cursorItemPicture = 0; } +CInputController::~CInputController() { + removeMessageHandler(126, -1); + + g_fullpipe->_inputController = 0; +} + void CInputController::setInputDisabled(bool state) { _flag = state; g_fullpipe->_inputDisabled = state; |