OSDN Git Service

[Refactor] #38997 gain_exp() に player_type * 引数を追加.
[hengband/hengband.git] / src / cmd-spell.c
index 1ed2c52..bd10624 100644 (file)
@@ -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);