Fix rendering artifact by replacing a call to the function which should not be named...
authorSimon Cross <hodgestar@gmail.com>
Fri, 9 Sep 2016 19:52:04 +0000 (21:52 +0200)
committerSimon Cross <hodgestar@gmail.com>
Fri, 9 Sep 2016 19:52:04 +0000 (21:52 +0200)
tabakrolletjie/lights.py

index f892a358e44cb2d42ce317e070e2ed214423d1b8..108f795097738e0470d436f7716736cf66106cd1 100644 (file)
@@ -175,7 +175,7 @@ class BaseLight(object):
         ray_mask.fill(black)
         for pygame_poly in self.ray_manager.pygame_polys(surface):
             pygame.draw.polygon(ray_mask, white, pygame_poly, 0)
-            pygame.draw.aalines(ray_mask, white, True, pygame_poly, 1)
+            pygame.draw.polygon(ray_mask, white, pygame_poly, 1)
         dt.lap("ray mask rendered")
 
         radius_mask.fill(black)