X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;ds=sidebyside;f=plomrogue%2Fthings.py;h=a5d38897205282e51fb29ba23333c72fded7b02a;hb=8b3739449048aac3d7532563d0c20cb198d37a8f;hp=1c99737c039390938804d467d8e9a490e2dc2a67;hpb=d23e0cac52c9ccc215c7c2d8e62ea29c6f7620bf;p=plomrogue2 diff --git a/plomrogue/things.py b/plomrogue/things.py index 1c99737..a5d3889 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -334,8 +334,9 @@ class ThingAnimate(Thing): if self._fov: return self._fov fov_map_class = self.game.map_geometry.fov_map_class + fov_radius = 3 if self.drunk > 0 else 12 self._fov = fov_map_class(self.game.things, self.game.maps, self.position, - 12, self.game.get_map) + fov_radius, self.game.get_map) return self._fov def fov_test(self, big_yx, little_yx):