0

moved lighting check from world object to quadtree object, where it should be now

This commit is contained in:
Aaron Griffith
2011-03-21 05:35:11 -04:00
parent c603f2344f
commit fd0924a93b
3 changed files with 3 additions and 4 deletions

View File

@@ -550,7 +550,7 @@ class ChunkRenderer(object):
if not img:
img = Image.new("RGBA", (384, 1728), (38,92,255,0))
if self.world.lighting:
if self.quadtree.lighting:
c_overviewer.render_loop_lighting(self, img, xoff, yoff, blockData_expanded)
else:
c_overviewer.render_loop(self, img, xoff, yoff, blockData_expanded)