aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-21 20:55:14 +0200
committerEugene Sandulenko2016-09-21 21:22:22 +0200
commitd373ddfd3fbc9342361bc1ace76e2dcd1fa3fc98 (patch)
tree11e7b1da37cba069d73bb6d436ad365e07bdf382 /engines/fullpipe/scenes
parent6286306ace41122a7907f7342e1e413c40947c5d (diff)
downloadscummvm-rg350-d373ddfd3fbc9342361bc1ace76e2dcd1fa3fc98.tar.gz
scummvm-rg350-d373ddfd3fbc9342361bc1ace76e2dcd1fa3fc98.tar.bz2
scummvm-rg350-d373ddfd3fbc9342361bc1ace76e2dcd1fa3fc98.zip
FULLPIPE: Fix crash on scene09 reentry
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r--engines/fullpipe/scenes/scene09.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes/scene09.cpp b/engines/fullpipe/scenes/scene09.cpp
index e265e707fd..f556785421 100644
--- a/engines/fullpipe/scenes/scene09.cpp
+++ b/engines/fullpipe/scenes/scene09.cpp
@@ -106,9 +106,6 @@ void scene09_initScene(Scene *sc) {
g_vars->scene09_hangers.push_back(hng);
}
- for (uint i = 0; i < g_vars->scene09_sceneBalls.size(); i++)
- delete g_vars->scene09_sceneBalls[i];
-
g_vars->scene09_sceneBalls.clear();
StaticANIObject *newball = new StaticANIObject(sc->getStaticANIObject1ById(ANI_BALL9, -1));