From 4ca8860cbd3e29524de3e3b03f95bf1db0f80c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 10 Nov 2015 12:24:23 +0100 Subject: EngagementPanel: fix vertical position of dice --- core/src/ch/asynk/rustanddust/game/hud/EngagementPanel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/ch/asynk/rustanddust/game/hud/EngagementPanel.java b/core/src/ch/asynk/rustanddust/game/hud/EngagementPanel.java index 6a0762e..30114ae 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/EngagementPanel.java +++ b/core/src/ch/asynk/rustanddust/game/hud/EngagementPanel.java @@ -149,6 +149,7 @@ public class EngagementPanel extends Patch implements Animation y += ((attack.getHeight() / 2.0f) - (attackImg.getHeight() / 2.0f)); attackImg.setPosition(x, y); x += (attackImg.getWidth() + HSPACING); + y += ((attackImg.getHeight() / 2.0f) - (d1Animation.getHeight() / 2.0f)); d1Animation.setPosition(x, y); d3Animation.setPosition(x, y); x += (d1Animation.getWidth() + HSPACING); -- cgit v1.1-2-g2b99