mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 15:42:46 +00:00
AS3: Incorrect handling of strict equals operator in if vs switch resulting in §§pop
This commit is contained in:
@@ -537,9 +537,7 @@ public class AVM2Graph extends Graph {
|
||||
switchedObject = new LocalRegAVM2Item(null, null, rightReg, null);
|
||||
}
|
||||
|
||||
if(leftReg < 0 && rightReg < 0){
|
||||
|
||||
} else if (cnt == 1) {
|
||||
if ((leftReg < 0 && rightReg < 0) || (cnt == 1)) {
|
||||
stack.push(set);
|
||||
} else {
|
||||
part = part.nextParts.get(1);
|
||||
|
||||
Reference in New Issue
Block a user