summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-14 11:57:38 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-14 11:57:38 +0100
commit5ccf29d10c6370710a98fee3d7d8e26ba9051965 (patch)
treed89812ca921913fdea7e6614a4385836b0871e59 /core/src/ch/asynk
parent871501ed526e04f88c8490b4897214ab2b95dfbf (diff)
downloadRustAndDust-5ccf29d10c6370710a98fee3d7d8e26ba9051965.zip
RustAndDust-5ccf29d10c6370710a98fee3d7d8e26ba9051965.tar.gz
StateReinforcement: coding style
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateReinforcement.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java b/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java
index 9025c2f..db47eb6 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java
@@ -61,7 +61,8 @@ public class StateReinforcement extends StateCommon
private void changeUnit(Unit unit)
{
activeUnit = unit;
- if (entryPoint != null) entryPoint.enable(Hex.AREA, false);
+ if (entryPoint != null)
+ entryPoint.enable(Hex.AREA, false);
entryPoint = ctrl.battle.getEntryPoint(activeUnit);
entryPoint.enable(Hex.AREA, true);
ctrl.hud.actionButtons.show(((ctrl.cfg.canCancel) ? Buttons.ABORT.b : 0));