summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-27 20:28:56 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-27 20:28:56 +0200
commit039f4a692fa1a86b51751ab6ce66bcea0db8829c (patch)
tree55eff22dc9bf9164f7705baeed9c3b21a66d2791 /core/src/ch/asynk/tankontank/game
parent147123f0af4154ace5e6b4e76722e49be9253803 (diff)
downloadRustAndDust-039f4a692fa1a86b51751ab6ce66bcea0db8829c.zip
RustAndDust-039f4a692fa1a86b51751ab6ce66bcea0db8829c.tar.gz
Map: change debugMap cycling order
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index a656c20..55d51c0 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -80,7 +80,7 @@ public abstract class Map extends Board
hexOn = true;
if (roadsOn) {
roadsOn = false;
- t = Hex.Terrain.CLEAR;
+ t = Hex.Terrain.OFFMAP;
} else if (t == Hex.Terrain.CLEAR) {
o = Hex.GREEN;
t = Hex.Terrain.WOODS;
@@ -92,10 +92,10 @@ public abstract class Map extends Board
t = Hex.Terrain.TOWN;
} else if (t == Hex.Terrain.TOWN) {
o = Hex.FOG;
- t = Hex.Terrain.OFFMAP;
+ roadsOn = true;
} else if (t == Hex.Terrain.OFFMAP) {
o = Hex.FOG;
- roadsOn = true;
+ t = Hex.Terrain.CLEAR;
}
}