summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/engine/SearchBoard.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/SearchBoard.java b/core/src/ch/asynk/rustanddust/engine/SearchBoard.java
index 59e3b2e..a165e67 100644
--- a/core/src/ch/asynk/rustanddust/engine/SearchBoard.java
+++ b/core/src/ch/asynk/rustanddust/engine/SearchBoard.java
@@ -348,9 +348,6 @@ public class SearchBoard
{
if (!lineOfSight(from.col, from.row, to.col, to.row, true))
return false;
- Node last = los.get(los.size() -1);
- if ((last.col != to.col) || (last.row != to.row))
- return false;
return validateFireAngle(angleOfAttack, los);
}