summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index faf8857..6983426 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -265,7 +265,7 @@ public abstract class Map extends Board
ctrl.animationDone();
}
- private boolean resolve(Unit unit, final Unit target)
+ private boolean resolveFight(Unit unit, final Unit target)
{
int d1 = d6();
int d2 = d6();
@@ -326,10 +326,10 @@ public abstract class Map extends Board
}
boolean success;
- success = resolve(unit, target);
+ success = resolveFight(unit, target);
if (!success && mayReroll) {
TankOnTank.debug("Reroll");
- success = resolve(unit, target);
+ success = resolveFight(unit, target);
}
TankOnTank.debug(unit + " engagements " + target + " : " + unit.engagement.calculus);