From a12f7c571f9fc838bb0bd97f6f392558ba5bc6bb Mon Sep 17 00:00:00 2001 From: kamichi Date: Wed, 2 Jan 2013 20:43:12 +0900 Subject: [PATCH] updated --- engine/kage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/kage.js b/engine/kage.js index 9a53ec8..a707c88 100755 --- a/engine/kage.js +++ b/engine/kage.js @@ -80,7 +80,7 @@ function Kage(size){ mn = lpx + 18; } for(var j = 0; j < sa.length; j++){ - if(i != j && sa[j][0] == 1 && sa[j][3] == sa[j][5] && sa[j][4] <= lpy && sa[j][6] >= lpy){ + if(i != j && sa[j][0] == 1 && sa[j][3] == sa[j][5] && sa[j][3] < lpx && sa[j][4] <= lpy && sa[j][6] >= lpy){ if(lpx - sa[j][3] < 100){ mn = Math.min(mn, lpx - sa[j][3]); } -- 1.7.10.4