projects
/
chise
/
kage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c74b7d7
)
updated
author
kamichi
<kamichi@fonts.jp>
Wed, 2 Jan 2013 11:43:12 +0000
(20:43 +0900)
committer
kamichi
<kamichi@fonts.jp>
Wed, 2 Jan 2013 11:43:12 +0000
(20:43 +0900)
engine/kage.js
patch
|
blob
|
history
diff --git
a/engine/kage.js
b/engine/kage.js
index
9a53ec8
..
a707c88
100755
(executable)
--- a/
engine/kage.js
+++ b/
engine/kage.js
@@
-80,7
+80,7
@@
function Kage(size){
mn = lpx + 18;
\r
}
\r
for(var j = 0; j < sa.length; j++){
\r
- if(i != j && sa[j][0] == 1 && sa[j][3] == sa[j][5] && sa[j][4] <= lpy && sa[j][6] >= lpy){
\r
+ 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){
\r
if(lpx - sa[j][3] < 100){
\r
mn = Math.min(mn, lpx - sa[j][3]);
\r
}
\r