aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/modal.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-11-27 22:24:33 +0100
committerEugene Sandulenko2017-11-27 22:24:33 +0100
commit19d3e3d103fc1e171e181596c8c195d6b42bcdd1 (patch)
tree94f413222dd7d0b4fa513230ea21aa5b12d6c694 /engines/fullpipe/modal.cpp
parenta5ab1cd293e417f4c28dd6f9ee395ad0ac9f3447 (diff)
downloadscummvm-rg350-19d3e3d103fc1e171e181596c8c195d6b42bcdd1.tar.gz
scummvm-rg350-19d3e3d103fc1e171e181596c8c195d6b42bcdd1.tar.bz2
scummvm-rg350-19d3e3d103fc1e171e181596c8c195d6b42bcdd1.zip
FULLPIPE: Properly cleanup menu after quitting
Diffstat (limited to 'engines/fullpipe/modal.cpp')
-rw-r--r--engines/fullpipe/modal.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp
index 6543a88ac5..316369c0b0 100644
--- a/engines/fullpipe/modal.cpp
+++ b/engines/fullpipe/modal.cpp
@@ -1431,6 +1431,7 @@ bool ModalMainMenu::init(int counterdiff) {
case PIC_MNU_CONTINUE_L:
if (!_mfield_34) {
g_fp->_gameLoader->unloadScene(SC_MAINMENU);
+ _areas.clear();
_scene = nullptr;
g_fp->_sceneRect = _screct;