OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.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_cold 変数を廃止. / Abolished the resist_cold variab...
[hengbandforosx/hengbandosx.git]
/
src
/
monster
/
monster-update.c
diff --git
a/src/monster/monster-update.c
b/src/monster/monster-update.c
index
894502e
..
04cd139
100644
(file)
--- a/
src/monster/monster-update.c
+++ b/
src/monster/monster-update.c
@@
-572,7
+572,7
@@
void update_smart_learn(player_type *player_ptr, MONSTER_IDX m_idx, int what)
break;
case DRS_COLD:
- if (
player_ptr->resist_cold
)
+ if (
has_resist_cold(player_ptr)
)
m_ptr->smart |= SM_RES_COLD;
if (is_oppose_cold(player_ptr))