Fix for chunk level tile invalidate (jagged map edge on HD chunk generate)

This commit is contained in:
Mike Primm 2011-09-20 13:28:23 +08:00 committed by mikeprimm
parent da44b9b00b
commit 9fae2440b8

View File

@ -847,7 +847,7 @@ public class IsoHDPerspective implements HDPerspective {
} }
/* Now, add the tiles for the ranges - not perfect, but it works (some extra tiles on corners possible) */ /* Now, add the tiles for the ranges - not perfect, but it works (some extra tiles on corners possible) */
for(int i = mintilex; i <= maxtilex; i++) { for(int i = mintilex; i <= maxtilex; i++) {
for(int j = mintiley; j <= maxtiley; j++) { for(int j = mintiley-1; j <= maxtiley; j++) { /* Extra 1 - TODO: figure out why needed... */
addTile(tiles, world, i, j); addTile(tiles, world, i, j);
} }
} }