[FIX] El abad ja no pasa entre el warp i el 'enemic'

This commit is contained in:
2026-05-12 21:56:27 +02:00
parent 100d41c576
commit 7bf66245ce
+2 -1
View File
@@ -252,10 +252,11 @@ function world_draw()
--pintar actors
for key,actor in pairs(actors) do
if viewp:inside(actor.x, actor.y, actor.w, actor.h) then
if viewp:inside(actor.x, actor.y, actor.w, actor.h) and actor~=abad then
actor:draw()
end
end
abad:draw(); -- per a que estiga davant de tots
dialeg.draw()