Skip to content

Commit

Permalink
Fix rotation on flxanimate
Browse files Browse the repository at this point in the history
  • Loading branch information
NeeEoo committed Sep 14, 2024
1 parent fabdeb3 commit 90c5802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/funkin/backend/FlxAnimate.hx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class FlxAnimate extends flxanimate.FlxAnimate {
for (camera in cameras)
{
rMatrix.identity();
rMatrix.translate(-limb.offset.x, -limb.offset.y);
limb.prepareMatrix(rMatrix, FlxFrameAngle.ANGLE_0, _checkFlipX() != camera.flipX, _checkFlipY() != camera.flipY);
rMatrix.concat(_rMatrix);
if (!camera.visible || !camera.exists || !limbOnScreen(limb, _rMatrix, camera))
return;
Expand Down

0 comments on commit 90c5802

Please sign in to comment.