diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-21 10:06:16 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-21 10:06:16 +0100 |
commit | ea9e33b35cb6d007e2eb5c06e435d0218e08d3e5 (patch) | |
tree | 995293ed70ea7e154d808304ef755deea74707c3 /core/src/ch/asynk/tankontank/game/states | |
parent | 36cd9fbb0ebbfa280cc64c411d0aa1252b928aec (diff) | |
download | RustAndDust-ea9e33b35cb6d007e2eb5c06e435d0218e08d3e5.zip RustAndDust-ea9e33b35cb6d007e2eb5c06e435d0218e08d3e5.tar.gz |
remove useless (Unit) casts
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/states')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateMove.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateMove.java b/core/src/ch/asynk/tankontank/game/states/StateMove.java index caeebb2..6c3b144 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateMove.java +++ b/core/src/ch/asynk/tankontank/game/states/StateMove.java @@ -38,7 +38,7 @@ public class StateMove extends StateCommon if (selectedUnit.canMove()) { changeUnit(selectedUnit); } else { - changeUnit((Unit) map.moveableUnits.get(0)); + changeUnit(map.moveableUnits.get(0)); } } } |