mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-16 03:39:42 +00:00
Fix wrong constant indices when ConstantIndex copy
This commit is contained in:
@@ -1912,7 +1912,8 @@ public class ActionScript2Parser {
|
||||
orderedConstantPool.add(cval);
|
||||
}
|
||||
if (canChangeConstantIndices) {
|
||||
ci.index = orderedIndex;
|
||||
//Do NOT change ci.index directly - it may be cloned from other location
|
||||
ap.values.set(i, new ConstantIndex(orderedIndex));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1922,6 +1923,7 @@ public class ActionScript2Parser {
|
||||
if (!canChangeConstantIndices) {
|
||||
//generate again, as number of bytes per ActionPush can change
|
||||
srcList = generateActionList(tree, orderedConstantPool);
|
||||
//FIXME!!!
|
||||
}
|
||||
|
||||
for (GraphSourceItem s : srcList) {
|
||||
|
||||
Reference in New Issue
Block a user