if (cast)
{
const int mana_cost_per_monster = 8;
- bool new = TRUE;
+ bool is_new = TRUE;
bool mdeath;
do
{
if (!rush_attack(&mdeath)) break;
- if (new)
+ if (is_new)
{
/* Reserve needed mana point */
p_ptr->csp -= technic_info[REALM_HISSATSU - MIN_TECHNIC][26].smana;
- new = FALSE;
+ is_new = FALSE;
}
else
p_ptr->csp -= mana_cost_per_monster;
}
while (p_ptr->csp > mana_cost_per_monster);
- if (new) return NULL;
+ if (is_new) return NULL;
/* Restore reserved mana */
p_ptr->csp += technic_info[REALM_HISSATSU - MIN_TECHNIC][26].smana;
bool desc = (mode == SPELL_DESC) ? TRUE : FALSE;
bool info = (mode == SPELL_INFO) ? TRUE : FALSE;
bool cast = (mode == SPELL_CAST) ? TRUE : FALSE;
- bool fail = (mode == SPELL_FAIL) ? TRUE : FALSE;
bool cont = (mode == SPELL_CONT) ? TRUE : FALSE;
bool stop = (mode == SPELL_STOP) ? TRUE : FALSE;
if (cast)
{
int item;
- char *q, *s;
+ cptr q, s;
char o_name[MAX_NLEN];
object_type *o_ptr;
u32b f[TR_FLAG_SIZE];
if (cast)
{
int item;
- char *q, *s;
+ cptr q, s;
char o_name[MAX_NLEN];
object_type *o_ptr;
u32b f[TR_FLAG_SIZE];
if (cast)
{
int item;
- char *s, *q;
+ cptr s, q;
u32b f[TR_FLAG_SIZE];
object_type *o_ptr;