X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=plomrogue%2Fgame.py;h=36a76561e21870d66d0e250e2d5a6d1b4de02d20;hb=1750783da9cd6fd4f80d6484a3b714c352eef126;hp=31c9f2f61b83f3ceaf50cac640c81417c2e0dcc1;hpb=571e36aae0c760cc008ef04c5ab2f7308eefa8f6;p=plomrogue2 diff --git a/plomrogue/game.py b/plomrogue/game.py index 31c9f2f..36a7656 100755 --- a/plomrogue/game.py +++ b/plomrogue/game.py @@ -356,6 +356,7 @@ class Game(GameBase): y_range_end = absolute_position.y + fov_radius x_range_start = absolute_position.x - fov_radius x_range_end = absolute_position.x + fov_radius + # TODO: refactor with SourcedMap.inside? for position in self.changed_tiles: if position.y < y_range_start\ or position.y > y_range_end: