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
/
player
/
player-status-resist.c
diff --git
a/src/player/player-status-resist.c
b/src/player/player-status-resist.c
index
e073e39
..
a20c047
100644
(file)
--- a/
src/player/player-status-resist.c
+++ b/
src/player/player-status-resist.c
@@
-160,7
+160,7
@@
PERCENTAGE calc_cold_damage_rate(player_type *creature_ptr)
}
}
- if (
creature_ptr->resist_cold
)
+ if (
has_resist_cold(creature_ptr)
)
per = (per + 2) / 3;
if (is_oppose_cold(creature_ptr))
per = (per + 2) / 3;