diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-05 14:40:05 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-05 14:40:05 +0100 |
commit | 41720ef975558b227e04c880a659a1b243731542 (patch) | |
tree | 9abc5dc790041da1537ea7812addcbb0a99bde65 /core/src/ch/asynk/rustanddust | |
parent | 40eec61bb4188cc87964e0af9cb0cf16bba7ac96 (diff) | |
download | RustAndDust-41720ef975558b227e04c880a659a1b243731542.zip RustAndDust-41720ef975558b227e04c880a659a1b243731542.tar.gz |
Map: add comment for special AT_GUN -> no AP spent case
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Map.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Map.java b/core/src/ch/asynk/rustanddust/game/Map.java index 35497ff..dedbf23 100644 --- a/core/src/ch/asynk/rustanddust/game/Map.java +++ b/core/src/ch/asynk/rustanddust/game/Map.java @@ -567,6 +567,7 @@ public abstract class Map extends Board implements MoveToAnimationCb, ObjectiveS addAnimation(destroy); } + // do not consume action points if ((activatedUnits.size() == 1) && e.attacker.isA(Unit.UnitType.AT_GUN) && e.defender.isHardTarget()) activatedUnits.clear(); |