Sfoglia il codice sorgente

fix missing super.sync

ncannasse 11 anni fa
parent
commit
1c356502e4
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      h2d/Anim.hx

+ 1 - 0
h2d/Anim.hx

@@ -29,6 +29,7 @@ class Anim extends Drawable {
 	}
 
 	override function sync( ctx : RenderContext ) {
+		super.sync(ctx);
 		currentFrame += speed * ctx.elapsedTime;
 		if( currentFrame < frames.length )
 			return;