From 48d4a24fbd1db1a5ecfe10488fa5efae31407288 Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 24 Jun 2019 17:07:16 +0200 Subject: [PATCH] Fixed encorrect mirroring of bat wings @Keupoz#9578 --- .../com/minelittlepony/client/model/components/BatWings.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minelittlepony/client/model/components/BatWings.java b/src/main/java/com/minelittlepony/client/model/components/BatWings.java index 9e4ce451..c7108c98 100644 --- a/src/main/java/com/minelittlepony/client/model/components/BatWings.java +++ b/src/main/java/com/minelittlepony/client/model/components/BatWings.java @@ -29,6 +29,7 @@ public class BatWings extends PegasusWings { GlStateManager.scalef(1.3F, 1.3F, 1.3F); super.renderPart(scale, interpolatorId); + this.init(0, 0); GlStateManager.popMatrix(); } @@ -41,9 +42,9 @@ public class BatWings extends PegasusWings { @Override protected void addClosedWing(boolean right, float y, float scale) { - float x = right ? -4 : 3; + float x = right ? -3.5F : 3.5F; - folded.around(HEAD_RP_X, WING_FOLDED_RP_Y + y - 1, WING_FOLDED_RP_Z - 2) + folded.around(HEAD_RP_X - 0.5F, WING_FOLDED_RP_Y + y - 1, WING_FOLDED_RP_Z - 2) .mirror(right) .tex(56, 16).box(x * 0.9F, 5, 4, 1, 4, 1, scale) .tex(56, 16).box(x, 5, 6, 1, 7, 1, scale)