summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-03 10:12:36 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-03 10:12:36 +0200
commitc404eb10e8c49fd89d7a6a08fab429eec8fb3e14 (patch)
treec598fc944ea5008ad1c210776f14c396bd878a28
parent4fafb181dd150b31ea2a46826515d91f7f277136 (diff)
downloadRustAndDust-c404eb10e8c49fd89d7a6a08fab429eec8fb3e14.zip
RustAndDust-c404eb10e8c49fd89d7a6a08fab429eec8fb3e14.tar.gz
GameStatePath: fix ROSE position
-rw-r--r--core/src/ch/asynk/tankontank/game/GameStatePath.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/GameStatePath.java b/core/src/ch/asynk/tankontank/game/GameStatePath.java
index 06f64a4..808cbee 100644
--- a/core/src/ch/asynk/tankontank/game/GameStatePath.java
+++ b/core/src/ch/asynk/tankontank/game/GameStatePath.java
@@ -29,7 +29,7 @@ public class GameStatePath extends GameStateCommon
}
if (s == 1) {
- map.enableFinalPath(downHex, true);
+ map.enableFinalPath(to, true);
ctrl.setState(State.DIRECTION, true);
}
}