comment the bullshit
it needs it
This commit is contained in:
parent
fe3a68284f
commit
b10447bb86
@ -438,6 +438,8 @@ function level:spawn_exit()
|
|||||||
if (self:_mget(x,y)!=18) return
|
if (self:_mget(x,y)!=18) return
|
||||||
for nx=x-1,x+1 do
|
for nx=x-1,x+1 do
|
||||||
for ny=y-1,y+1 do
|
for ny=y-1,y+1 do
|
||||||
|
-- next check: is at least one of
|
||||||
|
-- nx or ny out of range [0, 15]?
|
||||||
if (nx | ny) & 0xFFF0 ~= 0 then
|
if (nx | ny) & 0xFFF0 ~= 0 then
|
||||||
self._wins[_mix(nx,ny)]=true
|
self._wins[_mix(nx,ny)]=true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user