fix: take z coordinate in account in gfx

This commit is contained in:
Kazhnuz 2021-05-09 15:07:54 +02:00
parent 034fb9cee6
commit 30cdda0970

View file

@ -22,7 +22,7 @@ function GFX:animationEnded(animation)
end
function GFX:draw()
self:drawSprite()
self:drawSprite(0, -self.z)
end
function GFX:drawShadow()