home · contact · privacy
Fix various minor, mostly "unused" flake8 complaints.
[plomrogue2] / plomrogue / mapping.py
index 99924bc599bdf396c68115463fafbe4fba23eb99..97f788bf59c52d6b992b25b083f22a5259afc5bd 100644 (file)
@@ -206,6 +206,7 @@ class Map():
             yield (y, self.terrain[y * width:(y + 1) * width])
 
 
+
 class SourcedMap(Map):
 
     def __init__(self, source_maps, source_center, radius, get_map):
@@ -359,7 +360,6 @@ class FovMap(SourcedMap):
         # and skip evaluation of already shaded tile. (This only works if tiles
         # shading implies they completely lie in existing shades; otherwise we
         # would lose shade growth through tiles at shade borders.)
-        circle_in_map = True
         distance = 1
         yx = YX(yx.y, yx.x)
         while distance <= self.radius: