Merge pull request #2403 from hea3ven/6.3.x

fix gate iteration when the "actions" are different than the "active act...
This commit is contained in:
Adrian Siekierka 2015-01-22 12:54:28 +01:00
commit ad4742f4ad

View file

@ -77,9 +77,7 @@ public class ActionIterator implements Iterable<StatementSlot> {
} }
if (isValid()) { if (isValid()) {
next = new StatementSlot(); next = pipe.gates[curDir.ordinal()].activeActions.get(index);
next.statement = pipe.gates[curDir.ordinal()].actions[index];
next.parameters = pipe.gates[curDir.ordinal()].actionParameters[index];
} else { } else {
next = null; next = null;
} }