From fcb48ea52f19eafcba5d68a97334557e770a6e09 Mon Sep 17 00:00:00 2001 From: CheemsAndFriends Date: Mon, 28 Oct 2024 02:37:44 +0100 Subject: [PATCH] Remove traces --- source/funkin/play/character/AnimateAtlasCharacter.hx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/source/funkin/play/character/AnimateAtlasCharacter.hx b/source/funkin/play/character/AnimateAtlasCharacter.hx index e5945b340..53a7dbd14 100644 --- a/source/funkin/play/character/AnimateAtlasCharacter.hx +++ b/source/funkin/play/character/AnimateAtlasCharacter.hx @@ -476,8 +476,6 @@ class AnimateAtlasCharacter extends BaseCharacter // Then reapply animOffsets... // applyAnimationOffsets(getCurrentAnimation()); - trace("PRE: " + mainSprite.width / scale.x, mainSprite.height / scale.y); - // Make sure we are playing the idle animation // ...then update the hitbox so that this.width and this.height are correct. @@ -485,18 +483,13 @@ class AnimateAtlasCharacter extends BaseCharacter mainSprite.alpha = 0.0001; mainSprite.width = 0; mainSprite.height = 0; - mainSprite.frameWidth = 0; - mainSprite.frameHeight = 0; this.dance(true); // Force to avoid the old animation playing with the wrong offset at the start of the song. - trace("PLAYING DANCE " + '"${getCurrentAnimation()}" at frame ${mainSprite.anim.curFrame}'); - trace(mainSprite.anim.curSymbol.name); - mainSprite.draw(); // refresh frame if (resS.x == 0) { - resS.x = mainSprite.width; + resS.x = mainSprite.width; // clunky bizz resS.y = mainSprite.height; }