diff --git a/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java b/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java index 53fa6edbb..59d385e9b 100644 --- a/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java +++ b/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java @@ -1021,16 +1021,7 @@ public class SWFInputStream extends InputStream { if ((a instanceof ActionStoreRegister) && stack.isEmpty()) { stack.push(new DirectValueActionItem(null, 0, new Null(), new ArrayList())); } - List localData2 = (List) Helper.deepCopy(localData); - HashMap vars = (HashMap) localData.get(1); - if (a instanceof ActionDefineFunction || a instanceof ActionDefineFunction2) { - for (int r = 0; r < 256; r++) { - if (vars.containsKey("__register" + r)) { - vars.remove("__register" + r); - } - } - } - a.translate(localData2, stack, output, Graph.SOP_USE_STATIC/*Graph.SOP_SKIP_STATIC*/, path); + a.translate(localData, stack, output, Graph.SOP_USE_STATIC/*Graph.SOP_SKIP_STATIC*/, path); } } } catch (RuntimeException ex) {