diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-14 11:57:38 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-14 11:57:38 +0100 |
commit | 5ccf29d10c6370710a98fee3d7d8e26ba9051965 (patch) | |
tree | d89812ca921913fdea7e6614a4385836b0871e59 /core/src | |
parent | 871501ed526e04f88c8490b4897214ab2b95dfbf (diff) | |
download | RustAndDust-5ccf29d10c6370710a98fee3d7d8e26ba9051965.zip RustAndDust-5ccf29d10c6370710a98fee3d7d8e26ba9051965.tar.gz |
StateReinforcement: coding style
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateReinforcement.java | 3 |
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)); |