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 gain_exp() に player_type * 引数を追加.
[hengband/hengband.git]
/
src
/
cmd-spell.c
diff --git
a/src/cmd-spell.c
b/src/cmd-spell.c
index
1ed2c52
..
bd10624
100644
(file)
--- a/
src/cmd-spell.c
+++ b/
src/cmd-spell.c
@@
-1304,7
+1304,7
@@
void do_cmd_cast(void)
}
/* Gain experience */
- gain_exp(e * s_ptr->slevel);
+ gain_exp(
p_ptr,
e * s_ptr->slevel);
/* Redraw object recall */
p_ptr->window |= (PW_OBJECT);