Skip to content

Commit

Permalink
don't need this anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisSoemers committed Dec 19, 2023
1 parent dad3fe2 commit 491fddc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/tests/JNIGridnetClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,6 @@ public int[][][] getMasks(int player) throws Exception {
}
for (Unit u: pgs.getUnits()) {
if (u.getPlayer() == player && gs.getActionAssignment(u) == null) {
if (u.getY() >= masks.length || u.getX() >= masks[0].length) {
System.err.println("u.getY() = " + u.getY());
System.err.println("u.getX() = " + u.getX());
System.err.println("pgs.getHeight() = " + pgs.getHeight());
System.err.println("pgs.getWidth() = " + pgs.getWidth());
System.err.println("mapPath = " + mapPath);
}

masks[u.getY()][u.getX()][0] = 1;
UnitAction.getValidActionArray(u, gs, utt, masks[u.getY()][u.getX()], maxAttackRadius, 1);
}
Expand Down

0 comments on commit 491fddc

Please sign in to comment.