diff options
author | Eugene Sandulenko | 2014-04-27 12:39:37 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-04-27 12:39:37 +0300 |
commit | d5bc560d66dc90bf0223bfe862fd3334c2cd4b1e (patch) | |
tree | 5fbba1e7d05a0326787503a087a183ca766a9977 /engines | |
parent | a3859041bf492a2c926dadc7324c1fe811fbbf86 (diff) | |
download | scummvm-rg350-d5bc560d66dc90bf0223bfe862fd3334c2cd4b1e.tar.gz scummvm-rg350-d5bc560d66dc90bf0223bfe862fd3334c2cd4b1e.tar.bz2 scummvm-rg350-d5bc560d66dc90bf0223bfe862fd3334c2cd4b1e.zip |
FULLPIPE: Implement ModalSaveGame destructor
Diffstat (limited to 'engines')
-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; } |