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
|
||||
self.mainHitbox:setFromData(hitbox.box, sx, sy)
|
||||
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)
|
||||
return hitboxName
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue