aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-11-12 12:34:40 +0100
committerEugene Sandulenko2016-11-12 12:35:18 +0100
commita36039f9fe896241bddc1d0015c8d6f1cfaa5039 (patch)
tree23550c0bbe0320e986f1614d77ad9cdab391ab82
parentf9d9bd810647834998a434dca7e8f2e5178f5b51 (diff)
downloadscummvm-rg350-a36039f9fe896241bddc1d0015c8d6f1cfaa5039.tar.gz
scummvm-rg350-a36039f9fe896241bddc1d0015c8d6f1cfaa5039.tar.bz2
scummvm-rg350-a36039f9fe896241bddc1d0015c8d6f1cfaa5039.zip
FULLPIPE: Fix bug in original in scene05
-rw-r--r--engines/fullpipe/scenes/scene05.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene05.cpp b/engines/fullpipe/scenes/scene05.cpp
index 99a485cf15..b8ecdc4934 100644
--- a/engines/fullpipe/scenes/scene05.cpp
+++ b/engines/fullpipe/scenes/scene05.cpp
@@ -281,6 +281,9 @@ void sceneHandler05_testHatch(ExCommand *inex) {
mq->_isFinished = 0;
+ if (!mq->chain(wacko))
+ delete mq;
+
return;
}