summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-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;
}
}