Skip to content

Commit

Permalink
change: 修改边界参数
Browse files Browse the repository at this point in the history
  • Loading branch information
陈亮 committed Jan 4, 2018
1 parent 908661a commit 2945983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/skyline/wxjumphack/NextCenterFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public int[] find(BufferedImage image, int[] myPos) {
continue;
}

if (i < Integer.max(ret[0] - 200, 0) || i >= Integer.min(ret[0] + 200, width) || j < Integer.max(0, ret[1] - 300) || j >= Integer.max(height, ret[1] + 300) || vMap[i][j]) {
if (i < Integer.max(ret[0] - 300, 0) || i >= Integer.min(ret[0] + 300, width) || j < Integer.max(0, ret[1] - 400) || j >= Integer.max(height, ret[1] + 400) || vMap[i][j]) {
continue;
}
vMap[i][j] = true;
Expand Down

0 comments on commit 2945983

Please sign in to comment.