aboutsummaryrefslogtreecommitdiff
path: root/src/ch/epfl
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2016-04-10 19:20:26 +0200
committerPacien TRAN-GIRARD2016-04-10 19:20:26 +0200
commita4a51ccea6051356d339e777a7d7c4e15804dab6 (patch)
tree47717baf2db7799aacb0f0fc596d76ef07fd8183 /src/ch/epfl
parentccb2248d468852e5f7f88dcbed10fd00efa4b3d2 (diff)
downloadxblast-a4a51ccea6051356d339e777a7d7c4e15804dab6.tar.gz
Restore proper bomb blocking distance
Diffstat (limited to 'src/ch/epfl')
-rw-r--r--src/ch/epfl/xblast/server/GameState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/server/GameState.java b/src/ch/epfl/xblast/server/GameState.java
index 7d921ee..2fbea45 100644
--- a/src/ch/epfl/xblast/server/GameState.java
+++ b/src/ch/epfl/xblast/server/GameState.java
@@ -334,7 +334,7 @@ public final class GameState {
334 return true; 334 return true;
335 335
336 if (bombedCells1.contains(nextCentralPos.containingCell())) 336 if (bombedCells1.contains(nextCentralPos.containingCell()))
337 if (nextPos.distanceTo(nextCentralPos) <= Board.BOMB_BLOCKING_DISTANCE + 1) 337 if (nextPos.distanceTo(nextCentralPos) <= Board.BOMB_BLOCKING_DISTANCE)
338 return true; 338 return true;
339 339
340 return false; 340 return false;