diff options
-rw-r--r-- | engines/fullpipe/modal.cpp | 8 | ||||
-rw-r--r-- | engines/fullpipe/modal.h | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp index 79d348c8b8..1fe12b941a 100644 --- a/engines/fullpipe/modal.cpp +++ b/engines/fullpipe/modal.cpp @@ -1462,6 +1462,14 @@ ModalSaveGame::ModalSaveGame() { _mode = 1; } +ModalSaveGame::~ModalSaveGame() { + g_fp->_sceneRect = _rect; + + _arrayD.clear(); + _arrayL.clear(); + _filenames.clear(); +} + void ModalSaveGame::setScene(Scene *sc) { warning("STUB: ModalSaveGame::setScene()"); } diff --git a/engines/fullpipe/modal.h b/engines/fullpipe/modal.h index 15f89d6d93..435e1fd748 100644 --- a/engines/fullpipe/modal.h +++ b/engines/fullpipe/modal.h @@ -240,7 +240,7 @@ private: class ModalSaveGame : public BaseModalObject { public: ModalSaveGame(); - virtual ~ModalSaveGame() {} + virtual ~ModalSaveGame(); virtual bool pollEvent() { return true; } virtual bool handleMessage(ExCommand *message) { return false; } |