Merge remote-tracking branch 'origin/master'

This commit is contained in:
no 2021-06-24 00:15:39 +02:00
commit 3f9beb1198
2 changed files with 16 additions and 14 deletions

View File

@ -1024,7 +1024,6 @@ public class BlueBaseFrames {
Frame f = BlueNormals.JumpDFrame2();
ObjectGl blue = new ObjectGl(0f, 138f, 138f, 5f, path, null);
blue.setTextureWrap(f.getSprite()[0], f.getSprite()[1], f.getSprite()[2], f.getSprite()[3]);

View File

@ -24,20 +24,23 @@ public class nextFrameBuffer {
}
public void clone(nextFrameBuffer f) {
this.current = f.current;
this.next = f.next;
try{
Frame cf = new Frame();
cf.clone(f.current);
this.current = cf; }
catch (NullPointerException n) {
this.current = null;
this.next = null;
}
nextFrameBuffer nfb = new nextFrameBuffer();
try {
nfb.clone(f.next);
} catch (NullPointerException n) {}
this.next = nfb;
// try{
// Frame cf = new Frame();
// cf.clone(f.current);
// this.current = cf; }
// catch (NullPointerException n) {
// this.current = null;
// this.next = null;
// }
// nextFrameBuffer nfb = new nextFrameBuffer();
// try {
// nfb.clone(f.next);
// } catch (NullPointerException n) {}
// this.next = nfb;
}