mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed tiling error when using sides that are just 1 tile thick
This commit is contained in:
parent
8ac1164a89
commit
8996572f55
|
@ -404,7 +404,7 @@ void render_tilemap_generate_skip()
|
|||
TILE *tiles = (TILE *)map_get_data(tmap->data);
|
||||
for(int y = 0; y < tmap->height; y++)
|
||||
{
|
||||
for(int x = 0; x < tmap->width; x++)
|
||||
for(int x = 1; x < tmap->width; x++)
|
||||
{
|
||||
int sx;
|
||||
for(sx = 1; x+sx < tmap->width && sx < 255; sx++)
|
||||
|
|
Loading…
Reference in a new issue