Fix map edge detection to only use lack-of-chunks: fix skylands

premature end-of-render issue
This commit is contained in:
Mike Primm 2011-07-28 10:11:34 -05:00
parent 8957ab7c31
commit 4622b42aed

View File

@ -310,7 +310,9 @@ public class MapManager {
tile.render(cache);
}
else {
if ((cache.isEmpty() == false) && tile.render(cache)) {
/* Switch to not checking if rendered tile is blank - breaks us on skylands, where tiles can be nominally blank - just work off chunk cache empty */
if (cache.isEmpty() == false) {
tile.render(cache);
found.remove(tile);
rendered.add(tile);
for (MapTile adjTile : map.getAdjecentTiles(tile)) {