stupid fix
This commit is contained in:
parent
139dbb6a01
commit
f006b6d58c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue