- [NEW] Alguns ajustos en habitacions

- [FIX] Càlcul del tile més robust
This commit is contained in:
Raimon @ quifisraimon committed 2026-09-30 12:58:48 +02:00
1 parent af2c8fb68d
commit 7b63f963b0
17 files changed
+38 -32

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ function ia.update_porta(spr)
end
elseif spr.state == templates.DYING then
if spr.current_frame == 15 then
local tx, ty = (spr.pos.x)>>3, (spr.pos.y)>>3
local tx, ty = sprites.get_tile(spr.pos.x), sprites.get_tile(spr.pos.y)
map.surf(rooms.surf_items)
map.tile(tx,ty,0)
map.surf(rooms.surf_foreground)