summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-29 23:11:11 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-29 23:11:11 +0100
commitf50eb8f8d020ff331fa057c71d244a758a0b0425 (patch)
tree181a7c1fc0e997c3517fd0d87184f4b5d9e49f8d /core
parent0e1c6684336f2ac96703465dbe135ccc153243e9 (diff)
downloadRustAndDust-f50eb8f8d020ff331fa057c71d244a758a0b0425.zip
RustAndDust-f50eb8f8d020ff331fa057c71d244a758a0b0425.tar.gz
Map: silence wrong debug output
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 8e92966..e6554e2 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -268,10 +268,9 @@ public abstract class Map extends Board
}
}));
- for (Pawn p : activatedPawns) {
+ for (Pawn p : activatedPawns)
p.attack(target);
- System.err.println(pawn);
- }
+
if ((activatedPawns.size() == 1) && pawn.isA(Unit.UnitType.AT_GUN) && target.isHardTarget())
activatedPawns.clear();