diff options
| -rw-r--r-- | src/objs/tilemap.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
