mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 10:48:43 +00:00
FULLPIPE: Fix crash on reenter to scene37
This commit is contained in:
parent
e2325f022b
commit
90ec4f6ac5
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user