OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b54b5b
)
[Fix] #37353 モンスターが死体を落とさなくなる事象の可能性を修正 / Fixed possible issue that monster mayn't...
author
Hourier
<hourier@users.sourceforge.jp>
Sat, 8 Feb 2020 16:15:38 +0000
(
01:15
+0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Sat, 8 Feb 2020 16:15:38 +0000
(
01:15
+0900)
src/monster1.c
patch
|
blob
|
history
diff --git
a/src/monster1.c
b/src/monster1.c
index
51ceb0e
..
5d8ef53
100644
(file)
--- 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)
{