OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df23c2e
)
[Fix] #40937 冷血動物の判定が間違っていて赤外線視力が効かなかった問題を修正した / Resolved the issue that infrared...
author
Hourier
<hourier@users.sourceforge.jp>
Mon, 9 Nov 2020 13:45:06 +0000
(22:45 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Mon, 9 Nov 2020 13:45:22 +0000
(22:45 +0900)
src/monster/monster-update.c
patch
|
blob
|
history
diff --git
a/src/monster/monster-update.c
b/src/monster/monster-update.c
index
e9bcfe5
..
4da0716
100644
(file)
--- a/
src/monster/monster-update.c
+++ b/
src/monster/monster-update.c
@@
-333,8
+333,8
@@
static bool check_cold_blood(player_type *subject_ptr, um_type *um_ptr, const PO
return FALSE;
monster_race *r_ptr = &r_info[um_ptr->m_ptr->r_idx];
- if ((r_ptr->flags2 & (RF2_COLD_BLOOD | RF2_AURA_FIRE))
!
= RF2_COLD_BLOOD)
- return
TRU
E;
+ if ((r_ptr->flags2 & (RF2_COLD_BLOOD | RF2_AURA_FIRE))
=
= RF2_COLD_BLOOD)
+ return
FALS
E;
um_ptr->easy = TRUE;
um_ptr->flag = TRUE;