diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-31 22:29:35 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-31 22:29:35 +0100 |
commit | d6a77e6139d40f2a10a20954c7516b55fc90af46 (patch) | |
tree | 00ff882f847ba315508b8a3633ba97bd42c51c49 /core/src | |
parent | bb1664570dae804a71d97c6c4a457ac51c943de6 (diff) | |
download | RustAndDust-d6a77e6139d40f2a10a20954c7516b55fc90af46.zip RustAndDust-d6a77e6139d40f2a10a20954c7516b55fc90af46.tar.gz |
Unit: artillery is an hard target too
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Unit.java | 2 |
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 |