summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/states
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-14 11:58:28 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-14 11:58:28 +0100
commit0afb20602ed8a934eba780030eb2b6b99aacc706 (patch)
tree14b42e3e0d24a184229313c6c2a009088dec4b17 /core/src/ch/asynk/tankontank/game/states
parent5ccf29d10c6370710a98fee3d7d8e26ba9051965 (diff)
downloadRustAndDust-0afb20602ed8a934eba780030eb2b6b99aacc706.zip
RustAndDust-0afb20602ed8a934eba780030eb2b6b99aacc706.tar.gz
StateReinforcement: call map.clearAll() on enter
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/states')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateReinforcement.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java b/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java
index db47eb6..5a611f9 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java
@@ -12,6 +12,7 @@ public class StateReinforcement extends StateCommon
@Override
public void enter(StateType prevState)
{
+ map.clearAll();
if (selectedHex != null)
map.unselectHex(selectedHex);
entryPoint = null;