for (i = 0; i < max_pet; i++)
{
pet_ctr = who[i];
- teleport_monster_to(pet_ctr, user_ptr->y, user_ptr->x, 100, TELEPORT_PASSIVE);
+ teleport_monster_to(user_ptr, pet_ctr, user_ptr->y, user_ptr->x, 100, TELEPORT_PASSIVE);
}
/* Free the "who" array */
while (attempts--)
{
- scatter(&y, &x, user_ptr->y, user_ptr->x, 4, 0);
+ scatter(user_ptr->current_floor_ptr, &y, &x, user_ptr->y, user_ptr->x, 4, 0);
if (!cave_have_flag_bold(user_ptr->current_floor_ptr, y, x, FF_PROJECT)) continue;
if (!player_bold(user_ptr, y, x)) break;
}
msg_print(_("明るく輝いている...", "It glows brightly..."));
detect_all(user_ptr, DETECT_RAD_DEFAULT);
probing(user_ptr);
- identify_fully(FALSE);
+ identify_fully(user_ptr, FALSE);
break;
}
case ACT_ID_FULL:
{
msg_print(_("黄色く輝いている...", "It glows yellow..."));
- identify_fully(FALSE);
+ identify_fully(user_ptr, FALSE);
break;
}