diff options
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Unit.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java index 0a69249..59f6d32 100644 --- a/core/src/ch/asynk/tankontank/game/Unit.java +++ b/core/src/ch/asynk/tankontank/game/Unit.java @@ -34,6 +34,7 @@ public class Unit extends HeadedPawn @Override public int getAttackRangeFrom(Tile tile) { + if (ht && ((Hex) tile).terrain == Hex.Terrain.HILLS) return rng + 1; return rng; } |