From 2ddcc7118a653303c54a1a8db0309b6c4f762dc2 Mon Sep 17 00:00:00 2001 From: staphen Date: Mon, 22 Apr 2024 23:17:12 -0400 Subject: [PATCH] Hiddens are no longer omniscient --- Source/monster.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index b51d53c60..bc34261ae 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -2384,10 +2384,7 @@ void ButcherAi(Monster &monster) void SneakAi(Monster &monster) { - if (monster.mode != MonsterMode::Stand) { - return; - } - if (dLight[monster.position.tile.x][monster.position.tile.y] == LightsMax) { + if (monster.mode != MonsterMode::Stand || monster.activeForTicks == 0) { return; }