From 83dc85cdfec647d4e95aea13a0254857ebfb7d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Mon, 21 Apr 2014 13:57:08 +0200 Subject: [PATCH] AS3 direct editation - no slot id for interfaces --- .../flash/abc/avm2/parser/script/AVM2SourceGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java index 46e57b854..db3ecccb3 100644 --- a/trunk/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java +++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java @@ -1904,7 +1904,7 @@ public class AVM2SourceGenerator implements SourceGenerator { tc.class_info = abc.instance_info.size() - 1; tc.kindType = Trait.TRAIT_CLASS; //tc.name_index = traitName(((InterfaceAVM2Item) item).namespace, ((InterfaceAVM2Item) item).name); - tc.slot_id = slot_id++; + tc.slot_id = 0; //? ts.traits.add(tc); traits[k] = tc; }