Merge pull request #341 from mikeprimm/master

Fix skylands premature-end-of-render issue
This commit is contained in:
mikeprimm 2011-07-28 08:15:30 -07:00
commit ee0ad7c3d5

View File

@ -310,7 +310,9 @@ public class MapManager {
tile.render(cache); tile.render(cache);
} }
else { 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); found.remove(tile);
rendered.add(tile); rendered.add(tile);
for (MapTile adjTile : map.getAdjecentTiles(tile)) { for (MapTile adjTile : map.getAdjecentTiles(tile)) {