summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-19 12:01:17 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-19 12:01:17 +0100
commit591bf2e0fef3822ece535d3bc48fc1465e19b1db (patch)
treed115cc025a46fe3435b3ae38cc4e18ec53ed29b3
parent30de6df76e933fff6f6ed1e8651f39e4b1148df5 (diff)
downloadRustAndDust-591bf2e0fef3822ece535d3bc48fc1465e19b1db.zip
RustAndDust-591bf2e0fef3822ece535d3bc48fc1465e19b1db.tar.gz
Engagement: show d3-4 on result only if reroll
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/Engagement.java2
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 d8a223e..ef1b0e5 100644
--- a/core/src/ch/asynk/tankontank/game/hud/Engagement.java
+++ b/core/src/ch/asynk/tankontank/game/hud/Engagement.java
@@ -223,7 +223,7 @@ public class Engagement extends Patch implements Animation
attackImg.draw(batch);
d1Animation.draw(batch);
d2Animation.draw(batch);
- if ((state == State.ROLL2) || (state == State.RESULT)) {
+ if ((state == State.ROLL2) || (reroll && (state == State.RESULT))) {
d3Animation.draw(batch);
d4Animation.draw(batch);
}