aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene18and19.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes/scene18and19.cpp')
-rw-r--r--engines/fullpipe/scenes/scene18and19.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene18and19.cpp b/engines/fullpipe/scenes/scene18and19.cpp
index 7e26632cee..9181bc7d65 100644
--- a/engines/fullpipe/scenes/scene18and19.cpp
+++ b/engines/fullpipe/scenes/scene18and19.cpp
@@ -130,6 +130,7 @@ void scene19_setMovements(Scene *sc, int entranceId) {
void scene19_preload() {
for (SceneTagList::iterator s = g_fp->_gameProject->_sceneTagList->begin(); s != g_fp->_gameProject->_sceneTagList->end(); ++s) {
if (s->_sceneId == SC_18) {
+ delete s->_scene;
s->_scene = g_fp->_scene3;
break;