From e321a6c5bc099708a581d8cc875df5b4b5574e25 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Sun, 5 Apr 2026 10:16:17 -0400 Subject: fix: draw tiles at a rounded position Potentially not needed, but it is good to be sure. --- src/objs/tilemap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/objs/tilemap.lua b/src/objs/tilemap.lua index 90b8c8a..0d7e17d 100644 --- a/src/objs/tilemap.lua +++ b/src/objs/tilemap.lua @@ -122,7 +122,7 @@ function tilemap_draw_sys(tilemap) for i = 1, tilemap.cachesize do local tile = tilemap.cache[i] TILE_QUAD:setViewport(tile.tex_x, tile.tex_y, TILESIZE, TILESIZE) - lg.draw(TILE_TEX, TILE_QUAD, tile.x, tile.y) + lg.draw(TILE_TEX, TILE_QUAD, round(tile.x), round(tile.y)) end end -- cgit v1.3-2-g0d8e