g_ptr->info |= (CAVE_GLOW);
note_spot(y, x);
lite_spot(y, x);
- update_local_illumination(y, x);
+ update_local_illumination(p_ptr, y, x);
/* Observe */
if (player_can_see_bold(y, x)) obvious = TRUE;
lite_spot(y, x);
- update_local_illumination(y, x);
+ update_local_illumination(p_ptr, y, x);
if (player_can_see_bold(y, x)) obvious = TRUE;
/* Get the monster possessive ("his"/"her"/"its") */
monster_desc(m_poss, m_ptr, MD_PRON_VISIBLE | MD_POSSESSIVE);
- if (p_ptr->riding && (g_ptr->m_idx == p_ptr->riding)) disturb(TRUE, TRUE);
+ if (p_ptr->riding && (g_ptr->m_idx == p_ptr->riding)) disturb(p_ptr, TRUE, TRUE);
if (r_ptr->flagsr & RFR_RES_ALL &&
typ != GF_OLD_CLONE && typ != GF_STAR_HEAL && typ != GF_OLD_HEAL
case GF_ATTACK:
{
/* Return this monster's death */
- return py_attack(y, x, dam);
+ return py_attack(p_ptr, y, x, dam);
}
/* Sleep (Use "dam" as "power") */
project(0, 0, t_y, t_x, dam, typ, (PROJECT_STOP|PROJECT_KILL|PROJECT_REFLECTABLE), monspell);
- disturb(TRUE, TRUE);
+ disturb(p_ptr, TRUE, TRUE);
return TRUE;
}
if (one_in_(4)) /* 4 */
do_poly_self(p_ptr);
else
- status_shuffle();
+ status_shuffle(p_ptr);
}
if (one_in_(6))
}
- disturb(TRUE, TRUE);
+ disturb(p_ptr, TRUE, TRUE);
if ((p_ptr->special_defense & NINJA_KAWARIMI) && dam && who && (who != p_ptr->riding))
if ((ax < 2) && (ay < 2)) return (TRUE);
/* Paranoia -- require "safe" origin */
- /* if (!in_bounds(y1, x1)) return (FALSE); */
+ /* if (!in_bounds(current_floor_ptr, y1, x1)) return (FALSE); */
/* Directly South/North */
if (!dx)
for (x = bx - cdis; x <= bx + cdis; x++)
{
/* Ignore "illegal" locations */
- if (!in_bounds(y, x)) continue;
+ if (!in_bounds(current_floor_ptr, y, x)) continue;
/* Enforce a circular "ripple" */
if (distance(y1, x1, y, x) != bdis) continue;