X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;ds=sidebyside;f=plomrogue%2Fmapping.py;h=97f788bf59c52d6b992b25b083f22a5259afc5bd;hb=3efcac66212325fecbbf28e3c19762821fb65d76;hp=99924bc599bdf396c68115463fafbe4fba23eb99;hpb=d9c9b5b7d5cac2469ac075010c4d729e1adf0cc4;p=plomrogue2 diff --git a/plomrogue/mapping.py b/plomrogue/mapping.py index 99924bc..97f788b 100644 --- a/plomrogue/mapping.py +++ b/plomrogue/mapping.py @@ -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: