diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/Engagement.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/Engagement.java b/core/src/ch/asynk/tankontank/game/hud/Engagement.java index ffbfa65..217c175 100644 --- a/core/src/ch/asynk/tankontank/game/hud/Engagement.java +++ b/core/src/ch/asynk/tankontank/game/hud/Engagement.java @@ -183,7 +183,7 @@ public class Engagement extends Patch implements Animation y = rerollY; state = State.ROLL2; } - setPosition(getX(), getY(), getWidth(), (y + d1Animation.getHeight() + VSPACING)); + setPosition(getX(), getY(), getWidth(), (y + d1Animation.getHeight() + VSPACING - getY())); d1Animation.setPosition(d1Animation.getX(), y); d2Animation.setPosition(d2Animation.getX(), y); } |