summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-23 10:00:03 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-23 10:00:03 +0100
commit90cd568cac97af9dba5fdcadcae68ebc533616fc (patch)
tree425af259a14dc4bae7253a5887a3382d00389ab7 /core/src/ch/asynk/rustanddust/game
parent4970de4c506c469cf2afb24c1b20b8cd6b1218f7 (diff)
downloadRustAndDust-90cd568cac97af9dba5fdcadcae68ebc533616fc.zip
RustAndDust-90cd568cac97af9dba5fdcadcae68ebc533616fc.tar.gz
Map4Orders: engagement, activatedUnits is already filled
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map4Orders.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
index 3eb4d19..dd133ca 100644
--- a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
+++ b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
@@ -210,12 +210,6 @@ public abstract class Map4Orders extends Map3Animations
resolveEngagement(e);
activableUnits.clear();
- activatedUnits.clear();
-
- activatedUnits.add(e.attacker);
- for (Unit u : e.assists)
- activatedUnits.add(u);
-
for (Unit u : activatedUnits) {
u.engage();
if (u.canBreak())