normal mesh shadows can be drawn even if the item isnt a image

This commit is contained in:
Tim Anema 2014-11-18 21:07:33 -05:00
parent bebeba9d5e
commit 64d8613549

View File

@ -452,7 +452,7 @@ function body:drawShadow(light)
end
function body:drawPixelShadow()
if self.type == "image" and self.normalMesh then
if self.normalMesh then
love.graphics.setColor(255, 255, 255)
love.graphics.draw(self.normalMesh, self.x - self.nx, self.y - self.ny)
end