Commit 61bf63cb authored by nanahira's avatar nanahira

catchup

parent 9b9fb5d0
......@@ -47,9 +47,5 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
function cm.disop(e,tp)
local c=e:GetHandler()
local flag1=bit.band(c:GetColumnZone(LOCATION_MZONE),0xffffff00)
local flag2=bit.band(bit.lshift(c:GetColumnZone(LOCATION_SZONE),8),0xffff00ff)
local flag3=bit.band(c:GetColumnZone(LOCATION_MZONE),0xff00ffff)
local flag4=bit.band(bit.lshift(c:GetColumnZone(LOCATION_SZONE),8),0xffff)
return (flag1+flag2+flag3+flag4) & 0xffff0000
return c:GetColumnZone(LOCATION_ONFIELD) & 0xffff0000
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment