diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-30 14:04:04 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-30 14:04:04 +0100 |
commit | 0b6b0a4a3bcdc0741a06b724e0086160c3d0beae (patch) | |
tree | 908a218b6e845b162ef31a57afb04a6402168704 /core | |
parent | 14129494bff4d601a90403eb1c6077474e70cad1 (diff) | |
download | RustAndDust-0b6b0a4a3bcdc0741a06b724e0086160c3d0beae.zip RustAndDust-0b6b0a4a3bcdc0741a06b724e0086160c3d0beae.tar.gz |
SearchBoard: must be carefull with boolean inMap(int col, int row)
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/SearchBoard.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/SearchBoard.java b/core/src/ch/asynk/tankontank/engine/SearchBoard.java index f2b4af1..a921d2a 100644 --- a/core/src/ch/asynk/tankontank/engine/SearchBoard.java +++ b/core/src/ch/asynk/tankontank/engine/SearchBoard.java @@ -85,6 +85,7 @@ public class SearchBoard this.possiblePathsFilters = new ArrayList<Node>(5); } + // FIXME be carefull with this if I expand the size of the board to be bigger than the playable size private boolean inMap(int col, int row) { if ((row < 0) || (row >= rows)) |