From 3ab94ebdb45a24d15c34641db16aee093b1baa93 Mon Sep 17 00:00:00 2001 From: k-bar <92504151+k-bar@users.noreply.github.com> Date: Tue, 31 May 2022 04:09:13 +0200 Subject: [PATCH] Berserk melee unsquelch fix --- Source/monster.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/monster.cpp b/Source/monster.cpp index bc3ddfb81..6363ddaca 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -1309,6 +1309,12 @@ void MonsterAttackMonster(int i, int mid, int hper, int mind, int maxd) } else { MonsterHitMonster(mid, i, dam); } + + Monster &attackingMonster = Monsters[i]; + if (monster._msquelch == 0) { + monster._msquelch = UINT8_MAX; + monster.position.last = attackingMonster.position.tile; + } } void CheckReflect(int mon, int pnum, int dam)