summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-01 10:38:21 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-01 10:38:21 +0100
commit8765640ecf63cb0222c2327550c0ccf9b770e438 (patch)
tree8048cdb04ddc6d67da44630bc704cc5a05bc3f4b /core/src
parentbbf83bf49aee9b5c1a0485393783a75454aca0e1 (diff)
downloadRustAndDust-8765640ecf63cb0222c2327550c0ccf9b770e438.zip
RustAndDust-8765640ecf63cb0222c2327550c0ccf9b770e438.tar.gz
Engagement: fix labels
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/Engagement.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/Engagement.java b/core/src/ch/asynk/tankontank/game/hud/Engagement.java
index 5ad6a2a..b21011e 100644
--- a/core/src/ch/asynk/tankontank/game/hud/Engagement.java
+++ b/core/src/ch/asynk/tankontank/game/hud/Engagement.java
@@ -52,9 +52,9 @@ public class Engagement extends Bg
{
DiceAnimation.initSound(volume);
attack.write(String.format(" + %d + %d", e.unitCount, e.flankBonus));
- defense.write(String.format("%d + %d + %d = %d", e.unitDefense, e.terrainDefense, e.weatherDefense, e.defense));
- attackR.write(String.format("= %d", e.attack));
- defenseR.write(String.format("= %d", e.defense));
+ defense.write(String.format("%d + %d + %d", e.unitDefense, e.terrainDefense, e.weatherDefense));
+ attackR.write(String.format("= %2d", e.attack));
+ defenseR.write(String.format("= %2d", e.defense));
if (e.success)
winner = ((e.attacker == Army.US) ? usWinner : geWinner);
else