summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Hex.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Hex.java b/core/src/ch/asynk/rustanddust/game/Hex.java
index 27b52cd..d8800ec 100644
--- a/core/src/ch/asynk/rustanddust/game/Hex.java
+++ b/core/src/ch/asynk/rustanddust/game/Hex.java
@@ -73,10 +73,7 @@ public class Hex extends Tile
if (isA(Terrain.DEPRESSION))
return false;
- if (isA(Terrain.CLEAR) && !hasUnits())
- return false;
-
- if (tile.isA(Terrain.HILLS) && isA(Terrain.CLEAR))
+ if (isA(Terrain.CLEAR) && (!hasUnits() || tile.isA(Terrain.HILLS)))
return false;
return true;