Rebase on Radiance #71
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ function PhysicalActor:addHitboxFromFrameData(framedata, animationID, frameID, h
|
||||||
if (hitbox.type == "main") then
|
if (hitbox.type == "main") then
|
||||||
self.mainHitbox:setFromData(hitbox.box, sx, sy)
|
self.mainHitbox:setFromData(hitbox.box, sx, sy)
|
||||||
else
|
else
|
||||||
local hitboxName = anim .. frame .. type .. id
|
local hitboxName = anim .. frame .. hitbox.type .. id
|
||||||
self:addHitbox(hitboxName, hitbox.type, hitbox.box, sx, sy, hitbox.isSolid)
|
self:addHitbox(hitboxName, hitbox.type, hitbox.box, sx, sy, hitbox.isSolid)
|
||||||
return hitboxName
|
return hitboxName
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue