Small bugfix for jumping attacks again²
This commit is contained in:
parent
ce1439003b
commit
388fd797bf
@ -514,7 +514,7 @@ public class match {
|
|||||||
ArrayList<Frame> af = new ArrayList<>(c.getFrames());
|
ArrayList<Frame> af = new ArrayList<>(c.getFrames());
|
||||||
c.clearNextFrames();
|
c.clearNextFrames();
|
||||||
for(int i = 0; (i < af.size() - 1) && (i < atk.getFrame().size()); i++) {
|
for(int i = 0; (i < af.size() - 1) && (i < atk.getFrame().size()); i++) {
|
||||||
Frame jumpf = c.getFrames().get(i+1);
|
Frame jumpf = af.get(i+1);
|
||||||
jumpf.cloneWithoutMovement(atk.getFrame().get(i));
|
jumpf.cloneWithoutMovement(atk.getFrame().get(i));
|
||||||
c.addSingleFrame(jumpf);
|
c.addSingleFrame(jumpf);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user