diff options
author | Eugene Sandulenko | 2016-10-02 12:52:18 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-10-02 13:01:39 +0200 |
commit | 90ec4f6ac52fc104f08e796f907f44f6fdde2122 (patch) | |
tree | 1009a1ec5155385d90c5fece1d25409bde203b4d /engines/fullpipe | |
parent | e2325f022be85750ae6434dbae38adbbd3f8e095 (diff) | |
download | scummvm-rg350-90ec4f6ac52fc104f08e796f907f44f6fdde2122.tar.gz scummvm-rg350-90ec4f6ac52fc104f08e796f907f44f6fdde2122.tar.bz2 scummvm-rg350-90ec4f6ac52fc104f08e796f907f44f6fdde2122.zip |
FULLPIPE: Fix crash on reenter to scene37
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/scenes/scene37.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene37.cpp b/engines/fullpipe/scenes/scene37.cpp index d4ecebca18..ba181642df 100644 --- a/engines/fullpipe/scenes/scene37.cpp +++ b/engines/fullpipe/scenes/scene37.cpp @@ -52,6 +52,11 @@ void scene37_initScene(Scene *sc) { Ring *ring; StaticANIObject *ani; + for (uint i = 0; i < g_vars->scene37_rings.size(); i++) + delete g_vars->scene37_rings[i]; + + g_vars->scene37_rings.clear(); + g_vars->scene37_lastDudeX = -1; ring = new Ring(); |