summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-31 22:29:35 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-31 22:29:35 +0100
commitd6a77e6139d40f2a10a20954c7516b55fc90af46 (patch)
tree00ff882f847ba315508b8a3633ba97bd42c51c49 /core/src/ch/asynk/tankontank
parentbb1664570dae804a71d97c6c4a457ac51c943de6 (diff)
downloadRustAndDust-d6a77e6139d40f2a10a20954c7516b55fc90af46.zip
RustAndDust-d6a77e6139d40f2a10a20954c7516b55fc90af46.tar.gz
Unit: artillery is an hard target too
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/Unit.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java
index 71182a2..b3db8d0 100644
--- a/core/src/ch/asynk/tankontank/game/Unit.java
+++ b/core/src/ch/asynk/tankontank/game/Unit.java
@@ -158,7 +158,7 @@ public class Unit extends HeadedPawn
@Override
public boolean isHardTarget()
{
- return ((type == UnitType.HARD_TARGET) || (type == UnitType.HARD_TARGET_HQ));
+ return ((type == UnitType.HARD_TARGET) || (type == UnitType.HARD_TARGET_HQ) || (type == UnitType.ARTILLERY));
}
@Override