OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] #40514 player_type の resist_fear 変数を廃止. / Abolished resist_fear variable...
[hengband/hengband.git]
/
src
/
mspell
/
high-resistance-checker.c
diff --git
a/src/mspell/high-resistance-checker.c
b/src/mspell/high-resistance-checker.c
index
76542c5
..
6fb7bea
100644
(file)
--- a/
src/mspell/high-resistance-checker.c
+++ b/
src/mspell/high-resistance-checker.c
@@
-18,7
+18,7
@@
void add_cheat_remove_flags_others(player_type *target_ptr, msr_type *msr_ptr)
if (has_resist_dark(target_ptr))
msr_ptr->smart |= SM_RES_DARK;
- if (
target_ptr->resist_fear
)
+ if (
has_resist_fear(target_ptr)
)
msr_ptr->smart |= SM_RES_FEAR;
if (has_resist_conf(target_ptr))