From cd0fee3d91d70525d7d4f434985abad6ea73faf0 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 14 Dec 2020 22:03:19 +0100 Subject: [PATCH] Turn players into non-light-blockers. --- plomrogue/tasks.py | 1 + plomrogue/things.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/plomrogue/tasks.py b/plomrogue/tasks.py index 1dec10d..98609da 100644 --- a/plomrogue/tasks.py +++ b/plomrogue/tasks.py @@ -47,6 +47,7 @@ class Task_MOVE(Task): self.thing.game.record_change(self.thing.position, 'fov') self.thing.position = self._get_move_target() self.thing.game.record_change(self.thing.position, 'other') + self.thing.invalidate('fov') if self.thing.blocks_light: self.thing.game.record_change(self.thing.position, 'fov') if self.thing.carrying: diff --git a/plomrogue/things.py b/plomrogue/things.py index 021412a..0dced0d 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -410,7 +410,6 @@ class Thing_CookieSpawner(Thing): class ThingAnimate(Thing): blocks_movement = True - blocks_light = True drunk = 0 def __init__(self, *args, **kwargs): -- 2.30.2