scenes/boost: reset colors before drawing shadows

This commit is contained in:
Kazhnuz 2019-02-04 09:40:55 +01:00
parent cf64040dce
commit def74457a4

View file

@ -168,7 +168,7 @@ end
function ParentEntity:drawShadow(tx, ty) function ParentEntity:drawShadow(tx, ty)
local x, y, z = self:getOrigin() local x, y, z = self:getOrigin()
love.graphics.setColor(0, 0, 1, 1) utils.graphics.resetColor()
local tx = tx or 0 local tx = tx or 0
local ty = ty or 0 local ty = ty or 0
x = math.floor(x + tx) x = math.floor(x + tx)