OSDN Git Service

[Fix] #39587 misc_english_usage_patch.txt に従い英文校正 / Proofreading English in complianc...
[hengband/hengband.git] / src / cmd / cmd-basic.c
index 2d8b9b0..cbef947 100644 (file)
@@ -2201,7 +2201,7 @@ char out_val[80];
        update_creature(creature_ptr);
 
        creature_ptr->redraw |= (PR_STATE);
-       update_output();
+       update_output(creature_ptr);
 
        Term_fresh();
 }
@@ -2466,12 +2466,12 @@ bool do_cmd_throw(player_type *creature_ptr, int mult, bool boomerang, OBJECT_ID
                inven_item_increase(creature_ptr, item, -1);
                if (!return_when_thrown)
                        inven_item_describe(creature_ptr, item);
-               inven_item_optimize(item);
+               inven_item_optimize(creature_ptr, item);
        }
        else
        {
-               floor_item_increase(0 - item, -1);
-               floor_item_optimize(0 - item);
+               floor_item_increase(creature_ptr->current_floor_ptr, 0 - item, -1);
+               floor_item_optimize(creature_ptr->current_floor_ptr, 0 - item);
        }
 
        if (item >= INVEN_RARM)
@@ -2490,7 +2490,7 @@ bool do_cmd_throw(player_type *creature_ptr, int mult, bool boomerang, OBJECT_ID
        y = creature_ptr->y;
        x = creature_ptr->x;
 
-       handle_stuff();
+       handle_stuff(creature_ptr);
 
        if ((creature_ptr->pclass == CLASS_NINJA) && ((q_ptr->tval == TV_SPIKE) || ((have_flag(flgs, TR_THROW)) && (q_ptr->tval == TV_SWORD)))) shuriken = TRUE;
        else shuriken = FALSE;
@@ -2749,7 +2749,7 @@ bool do_cmd_throw(player_type *creature_ptr, int mult, bool boomerang, OBJECT_ID
                        {
                                if (item >= 0)
                                {
-                                       msg_format(_("%sを受け損ねた!", "%s backs, but you can't catch!"), o2_name);
+                                       msg_format(_("%sを受け損ねた!", "%s comes backs, but you can't catch!"), o2_name);
                                }
                                else
                                {
@@ -2761,7 +2761,7 @@ bool do_cmd_throw(player_type *creature_ptr, int mult, bool boomerang, OBJECT_ID
                }
                else
                {
-                       msg_format(_("%sが返ってこなかった!", "%s doesn't back!"), o2_name);
+                       msg_format(_("%sが返ってこなかった!", "%s doesn't come back!"), o2_name);
                }
        }