From 618c478620e45739943c09d301eab96c867ed199 Mon Sep 17 00:00:00 2001 From: k-bar <92504151+k-bar@users.noreply.github.com> Date: Sat, 25 Jun 2022 19:49:23 +0200 Subject: [PATCH] fallen fear absolute dMonster id --- Source/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index 4a170f318..e45e14561 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -4515,7 +4515,7 @@ void M_FallenFear(Point position) int m = dMonster[tile.x][tile.y]; if (m == 0) continue; - Monster &monster = Monsters[m - 1]; + Monster &monster = Monsters[abs(m) - 1]; if (monster._mAi != AI_FALLEN || monster._mhitpoints >> 6 <= 0) continue;