summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-15 11:24:47 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-15 11:24:47 +0100
commitbe277ec213266c749296a41aeab45bcdeba2b1b3 (patch)
tree7f4648a4d44b602bd3b2e0ac2a96745d21f31567
parent2aaa0def4ec621f159c3c754523e479ac5f16b28 (diff)
downloadRustAndDust-be277ec213266c749296a41aeab45bcdeba2b1b3.zip
RustAndDust-be277ec213266c749296a41aeab45bcdeba2b1b3.tar.gz
StateDeployment: no need to revert beforec calling setOnBoard() the latest does the cleaning
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateDeployment.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java b/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java
index b224e2e..a014b03 100644
--- a/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java
+++ b/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java
@@ -123,7 +123,6 @@ public class StateDeployment extends StateCommon
{
if (o == Orientation.KEEP)
o = selectedUnit.getOrientation();
- map.revertEnter(selectedUnit);
map.setOnBoard(selectedUnit, selectedHex, o);
entryZone = null;