Fix boundary condition that was causing some missed tiles on chunk triggers

This commit is contained in:
Mike Primm 2011-08-20 11:38:08 +08:00 committed by mikeprimm
parent f24141587f
commit e8e4aa67ce

View File

@ -781,7 +781,7 @@ public class IsoHDPerspective implements HDPerspective {
}
/* 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 j = mintiley; j < maxtiley; j++) {
for(int j = mintiley; j <= maxtiley; j++) {
addTile(tiles, world, i, j);
}
}