stupid fix

This commit is contained in:
KikooDX 2022-03-15 22:11:49 +01:00
parent 139dbb6a01
commit f006b6d58c
1 changed files with 2 additions and 2 deletions

View File

@ -302,8 +302,8 @@ int LZY_DrawTile(unsigned int id, int x, int y) {
x += draw_off_x;
y += draw_off_y;
ix = id % tset_width * LZY_TILE_SIZE;
iy = id % tset_height * LZY_TILE_SIZE;
ix = (id % tset_width) * LZY_TILE_SIZE;
iy = (id / tset_width) * LZY_TILE_SIZE;
dsubimage(x, y, &LZY_GINT_TILESET, ix, iy, LZY_TILE_SIZE, LZY_TILE_SIZE,
DIMAGE_NONE);