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] #38997 get_mon_num() にplayer_type * 引数追加 / Added player_type * argument...
[hengband/hengband.git]
/
src
/
player-status.c
diff --git
a/src/player-status.c
b/src/player-status.c
index
ac5fb40
..
09c7040
100644
(file)
--- a/
src/player-status.c
+++ b/
src/player-status.c
@@
-5195,7
+5195,7
@@
void sanity_blast(player_type *creature_ptr, monster_type *m_ptr, bool necro)
get_mon_num_prep(creature_ptr, get_nightmare, NULL);
- r_ptr = &r_info[get_mon_num(MAX_DEPTH)];
+ r_ptr = &r_info[get_mon_num(
creature_ptr,
MAX_DEPTH)];
power = r_ptr->level + 10;
desc = r_name + r_ptr->name;