From 8e04fbd1e07986a92a273c0811c4ea2df8506805 Mon Sep 17 00:00:00 2001 From: XProger Date: Sat, 25 May 2019 04:10:57 +0300 Subject: [PATCH] fixed #185 --- src/lara.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lara.h b/src/lara.h index 9f8e749..792bb8d 100644 --- a/src/lara.h +++ b/src/lara.h @@ -3449,7 +3449,7 @@ struct Lara : Character { Controller *controller = (Controller*)e.controller; - if (!controller || !controller->isCollider()) continue; + if (!controller || controller->flags.invisible || !controller->isCollider()) continue; if (e.type == TR::Entity::TRAP_DOOR_1 || e.type == TR::Entity::TRAP_DOOR_2) continue;