From 591bf2e0fef3822ece535d3bc48fc1465e19b1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 19 Dec 2014 12:01:17 +0100 Subject: Engagement: show d3-4 on result only if reroll --- core/src/ch/asynk/tankontank/game/hud/Engagement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.1-2-g2b99