int i;
int y = 1;
int x = 1;
- int plev = p_ptr->lev;
+ PLAYER_LEVEL plev = p_ptr->lev;
snipe_power spell;
char psi_desc[80];
int num = 0;
int y = 1;
int x = 20;
- int plev = p_ptr->lev;
+ PLAYER_LEVEL plev = p_ptr->lev;
int ask;
char choice;
char out_val[160];
snipe_power spell;
bool flag, redraw;
-#ifdef ALLOW_REPEAT /* TNB */
-
repeat_push(*sn);
/* Assume cancelled */
}
}
-#endif /* ALLOW_REPEAT -- TNB */
-
/* Nothing chosen yet */
flag = FALSE;
/* Show choices */
p_ptr->window |= (PW_SPELL);
- /* Window stuff */
window_stuff();
/* Abort if needed */
/* Save the choice */
(*sn) = i;
-#ifdef ALLOW_REPEAT /* TNB */
-
repeat_push(*sn);
-#endif /* ALLOW_REPEAT -- TNB */
-
/* Success */
return (TRUE);
}
if (!cast) return;
#if 0
- /* Take a turn */
p_ptr->energy_use = 100;
#endif
/* Redraw mana */
p_ptr->redraw |= (PR_HP | PR_MANA);
- /* Window stuff */
p_ptr->window |= (PW_PLAYER);
p_ptr->window |= (PW_SPELL);
}