aboutsummaryrefslogtreecommitdiff
path: root/src/ch/epfl
diff options
context:
space:
mode:
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 107162e..71e32a6 100644
--- a/src/ch/epfl/xblast/server/GameState.java
+++ b/src/ch/epfl/xblast/server/GameState.java
@@ -324,7 +324,7 @@ public final class GameState {
324 return true; 324 return true;
325 325
326 if (bombedCells1.contains(nextCentralPos.containingCell())) 326 if (bombedCells1.contains(nextCentralPos.containingCell()))
327 if (nextPos.distanceTo(nextCentralPos) < Board.BOMB_BLOCKING_DISTANCE) 327 if (nextPos.distanceTo(nextCentralPos) == Board.BOMB_BLOCKING_DISTANCE - 1)
328 return true; 328 return true;
329 329
330 return false; 330 return false;