fix(core/world): fast fix for a glitch with one-player camera
We will have to fix that properly in gamecore later
This commit is contained in:
parent
d7210db5e5
commit
b3882b388f
|
@ -326,8 +326,8 @@ function CameraSystem:drawHUD(id)
|
||||||
local string2 = id .. " (" .. viewx .. ":" .. (viewh-viewy) .. ") "
|
local string2 = id .. " (" .. viewx .. ":" .. (viewh-viewy) .. ") "
|
||||||
|
|
||||||
|
|
||||||
love.graphics.setScissor(viewx, viewh-viewy, vieww, viewh)
|
love.graphics.setScissor(viewx, viewy, vieww, viewh)
|
||||||
love.graphics.translate(viewx, viewh-viewy)
|
love.graphics.translate(viewx, viewy)
|
||||||
view.target:drawHUD(id, vieww, viewh)
|
view.target:drawHUD(id, vieww, viewh)
|
||||||
|
|
||||||
love.graphics.translate(-viewx, -(viewh-viewy))
|
love.graphics.translate(-viewx, -(viewh-viewy))
|
||||||
|
|
Loading…
Reference in New Issue