From 34acfd6faa5f5fefaf5d7786a0ac78a656de2a8d Mon Sep 17 00:00:00 2001 From: Hourier Date: Sun, 9 Feb 2020 01:15:38 +0900 Subject: [PATCH] =?utf8?q?[Fix]=20#37353=20=E3=83=A2=E3=83=B3=E3=82=B9?= =?utf8?q?=E3=82=BF=E3=83=BC=E3=81=8C=E6=AD=BB=E4=BD=93=E3=82=92=E8=90=BD?= =?utf8?q?=E3=81=A8=E3=81=95=E3=81=AA=E3=81=8F=E3=81=AA=E3=82=8B=E4=BA=8B?= =?utf8?q?=E8=B1=A1=E3=81=AE=E5=8F=AF=E8=83=BD=E6=80=A7=E3=82=92=E4=BF=AE?= =?utf8?q?=E6=AD=A3=20/=20Fixed=20possible=20issue=20that=20monster=20mayn?= =?utf8?q?'t=20drop=20corpse?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/monster1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monster1.c b/src/monster1.c index 51ceb0e6c..5d8ef5378 100644 --- a/src/monster1.c +++ b/src/monster1.c @@ -2329,7 +2329,7 @@ void monster_death(player_type *player_ptr, MONSTER_IDX m_idx, bool drop_item) } bool is_drop_corpse = one_in_(r_ptr->flags1 & RF1_UNIQUE ? 1 : 4); - is_drop_corpse &= (r_ptr->flags9 & (RF9_DROP_CORPSE | RF9_DROP_SKELETON)); + is_drop_corpse &= (r_ptr->flags9 & (RF9_DROP_CORPSE | RF9_DROP_SKELETON)) != 0; is_drop_corpse &= !(floor_ptr->inside_arena || player_ptr->phase_out || cloned || ((m_ptr->r_idx == today_mon) && is_pet(m_ptr))); if (is_drop_corpse) { -- 2.11.0