This commit is contained in:
Kenny Shields 2014-05-26 19:14:22 -04:00
parent 0472742468
commit 9eca9e73ab

View File

@ -88,10 +88,7 @@ function newobject:update(dt)
local offsety = self.offsety local offsety = self.offsety
for k, v in ipairs(children) do for k, v in ipairs(children) do
local col = loveframes.util.BoundingBox(x, v.x, y, v.y, width, v.width, height, v.height)
if col then
v:update(dt) v:update(dt)
end
v:SetClickBounds(x, y, width, height) v:SetClickBounds(x, y, width, height)
v.x = (v.parent.x + v.staticx) - offsetx v.x = (v.parent.x + v.staticx) - offsetx
v.y = (v.parent.y + v.staticy) - offsety v.y = (v.parent.y + v.staticy) - offsety