sprintf(destroy_ptr->out_val, _("本当に%sを壊しますか? [y/n/Auto]", "Really destroy %s? [y/n/Auto]"), destroy_ptr->o_name);
msg_print(NULL);
message_add(destroy_ptr->out_val);
- creature_ptr->window |= PW_MESSAGE;
+ creature_ptr->window_flags |= PW_MESSAGE;
handle_stuff(creature_ptr);
while (TRUE) {
prt(destroy_ptr->out_val, 0, 0);
{
concptr q = _("どのアイテムを壊しますか? ", "Destroy which item? ");
concptr s = _("壊せるアイテムを持っていない。", "You have nothing to destroy.");
- destroy_ptr->o_ptr = choose_object(creature_ptr, &destroy_ptr->item, q, s, USE_INVEN | USE_FLOOR, 0);
+ destroy_ptr->o_ptr = choose_object(creature_ptr, &destroy_ptr->item, q, s, USE_INVEN | USE_FLOOR, TV_NONE);
if (destroy_ptr->o_ptr == NULL)
return FALSE;
if ((destroy_ptr->q_ptr->to_a != 0) || (destroy_ptr->q_ptr->to_d != 0) || (destroy_ptr->q_ptr->to_h != 0))
chg_virtue(creature_ptr, V_HARMONY, 1);
- if (destroy_ptr->item >= INVEN_RARM)
+ if (destroy_ptr->item >= INVEN_MAIN_HAND)
calc_android_exp(creature_ptr);
}