if (o_ptr->tval == TV_ROD)
{
#ifdef JP
-if (get_check(format("そのロッドを$%d で再充填しますか?",
- price)))
+ if (get_check(format("そのロッドを$%d で再充填しますか?", price)))
#else
if (get_check(format("Recharge the %s for %d gold? ",
((o_ptr->number > 1) ? "rods" : "rod"), price)))
*/
bool tele_town(void)
{
- int i, x, y;
+ int i;
+ POSITION x, y;
int num = 0;
if (dun_level)
/* Allocate the "who" array */
- C_MAKE(who, max_r_idx, IDX);
+ C_MAKE(who, max_r_idx, MONRACE_IDX);
/* Collect matching monsters */
for (n = 0, i = 1; i < max_r_idx; i++)
if (!n)
{
/* Free the "who" array */
- C_KILL(who, max_r_idx, IDX);
+ C_KILL(who, max_r_idx, MONRACE_IDX);
/* Restore */
screen_load();
/* prt(buf, 5, 5);*/
/* Free the "who" array */
- C_KILL(who, max_r_idx, IDX);
+ C_KILL(who, max_r_idx, MONRACE_IDX);
/* Restore */
screen_load();
break;
case BACT_TELEPORT_LEVEL:
{
- IDX select_dungeon;
+ DUNGEON_IDX select_dungeon;
DEPTH max_depth;
clear_bldg(4, 20);