OSDN Git Service

[Refactor] #38997 fire_beam() に player_type * 引数を追加. / Add player_type * argument...
[hengband/hengband.git] / src / cmd / cmd-activate.c
index 7b1fd9a..f367d37 100644 (file)
@@ -1097,7 +1097,7 @@ bool activate_artifact(player_type *user_ptr, object_type *o_ptr)
        case ACT_TELE_AWAY:
        {
                if (!get_aim_dir(&dir)) return FALSE;
-               (void)fire_beam(GF_AWAY_ALL, dir, plev);
+               (void)fire_beam(user_ptr, GF_AWAY_ALL, dir, plev);
                break;
        }