From 46c6a6f6f71361472223fc4aa6b3c9a5bb741f69 Mon Sep 17 00:00:00 2001 From: Zelaux <58040045+Zelaux@users.noreply.github.com> Date: Mon, 25 Oct 2021 05:56:15 +0500 Subject: [PATCH] Fixed using wrong weapon outline height (#6228) --- core/src/mindustry/type/Weapon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/type/Weapon.java b/core/src/mindustry/type/Weapon.java index dc83c9282f..af6b19b05e 100644 --- a/core/src/mindustry/type/Weapon.java +++ b/core/src/mindustry/type/Weapon.java @@ -155,7 +155,7 @@ public class Weapon implements Cloneable{ Draw.rect(outlineRegion, wx, wy, outlineRegion.width * Draw.scl * -Mathf.sign(flipSprite), - region.height * Draw.scl, + outlineRegion.height * Draw.scl, weaponRotation); } }