OSDN Git Service

[Fix] #39525 コメント置換ミス修正. / Fix comment replacing error.
[hengband/hengband.git] / src / cmd / cmd-activate.c
index dc5443a..64dbce2 100644 (file)
@@ -344,7 +344,7 @@ const activation_type activation_info[] =
  * <pre>
  * Currently, only (some) artifacts, and Dragon Scale Mail, can be activated.
  * But one could, for example, easily make an activatable "Ring of Plasma".
- * Note that it always takes a current_world_ptr->game_turn to activate an artifact, even if
+ * Note that it always takes a turn to activate an artifact, even if
  * the user hits "escape" at the "direction" prompt.
  * </pre>
  */
@@ -1010,7 +1010,7 @@ bool activate_artifact(player_type *user_ptr, object_type *o_ptr)
                        {
                                scatter(&y, &x, user_ptr->y, user_ptr->x, 4, 0);
                                if (!cave_have_flag_bold(y, x, FF_PROJECT)) continue;
-                               if (!player_bold(y, x)) break;
+                               if (!player_bold(user_ptr, y, x)) break;
                        }
 
                        project(0, 3, y, x, 150, GF_ELEC,
@@ -1479,7 +1479,7 @@ bool activate_artifact(player_type *user_ptr, object_type *o_ptr)
        case ACT_RUNE_EXPLO:
        {
                msg_print(_("明るい赤色に輝いている...", "It glows bright red..."));
-               explosive_rune();
+               explosive_rune(user_ptr->current_floor_ptr, user_ptr->y, user_ptr->x);
                break;
        }
 
@@ -1626,7 +1626,7 @@ bool activate_artifact(player_type *user_ptr, object_type *o_ptr)
        case ACT_DISP_CURSE_XTRA:
        {
                msg_format(_("%sが真実を照らし出す...", "The %s exhibits the truth..."), name);
-               (void)remove_all_curse();
+               (void)remove_all_curse(user_ptr);
                (void)probing();
                break;
        }
@@ -1710,7 +1710,7 @@ bool activate_artifact(player_type *user_ptr, object_type *o_ptr)
        case ACT_TELEPORT_LEVEL:
        {
                if (!get_check(_("本当に他の階にテレポートしますか?", "Are you sure? (Teleport Level)"))) return FALSE;
-               teleport_level(0);
+               teleport_level(user_ptr, 0);
                break;
        }
 
@@ -1729,7 +1729,7 @@ bool activate_artifact(player_type *user_ptr, object_type *o_ptr)
                break;
 
        case ACT_INROU:
-               mitokohmon();
+               mitokohmon(user_ptr);
                break;
 
        case ACT_MURAMASA: