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_lite 変数を廃止. / Abolished the resist_lite variab...
[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
b6e362f
..
e6b7fbf
100644
(file)
--- a/
src/mspell/high-resistance-checker.c
+++ b/
src/mspell/high-resistance-checker.c
@@
-12,7
+12,7
@@
void add_cheat_remove_flags_others(player_type *target_ptr, msr_type *msr_ptr)
if (target_ptr->resist_neth)
msr_ptr->smart |= SM_RES_NETH;
- if (
target_ptr->resist_lite
)
+ if (
has_resist_lite(target_ptr)
)
msr_ptr->smart |= SM_RES_LITE;
if (target_ptr->resist_dark)